Files
Bookshelf/Old/bd-bookshelfhelper/bd-bookshelfhelper.php
2026-10-18 19:01:01 -07:00

36 lines
1.1 KiB
PHP

<?php
// Copyright 2026 Umbra Tools (umbratools.com)
// SPDX-License-Identifier: Apache-2.0
/**
* 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'));