Initial import of the bdmurphy Bookshelf work: the bd-bookshelf theme, bd-bookshelf-plugin, bd-bookshelfhelper and bd-simpleemail plugins, plus the specification documents, mockups and release archives.
32 lines
993 B
PHP
32 lines
993 B
PHP
<?php
|
|
/**
|
|
* Plugin Name: BD BookShelfHelper
|
|
* Plugin URI: https://authorbdmurphy.com
|
|
* Description: Manages book data, series, pen names, short links, reviews, and ratings for the BD Murphy Bookshelf theme.
|
|
* Version: 1.5.0
|
|
* Author: B.D. Murphy
|
|
* Author URI: https://authorbdmurphy.com
|
|
* License: GPL v2 or later
|
|
* Text Domain: bd-bookshelfhelper
|
|
*/
|
|
|
|
if (!defined('ABSPATH')) {
|
|
exit;
|
|
}
|
|
|
|
define('BD_BHS_VERSION', '1.5.0');
|
|
define('BD_BHS_DIR', plugin_dir_path(__FILE__));
|
|
define('BD_BHS_URI', plugin_dir_url(__FILE__));
|
|
|
|
require_once BD_BHS_DIR . 'inc/class-bookhelper.php';
|
|
require_once BD_BHS_DIR . 'inc/class-admin.php';
|
|
require_once BD_BHS_DIR . 'inc/class-install.php';
|
|
|
|
function BD_BookShelfHelper() {
|
|
return BD_BookShelfHelper::instance();
|
|
}
|
|
|
|
add_action('plugins_loaded', 'BD_BookShelfHelper');
|
|
|
|
register_activation_hook(__FILE__, array('BD_BookShelfHelper_Install', 'activate'));
|
|
register_deactivation_hook(__FILE__, array('BD_BookShelfHelper_Install', 'deactivate')); |