-
Notifications
You must be signed in to change notification settings - Fork 7
/
book-review-library.php
37 lines (32 loc) · 1.25 KB
/
book-review-library.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
* @package Book_Reviews
* @author Chris Reynolds <[email protected]>
* @license GPLv3
* @link http://chrisreynolds.io
* @copyright 2014 Chris Reynolds
*
* @wordpress-plugin
* Plugin Name: Book Review Library
* Plugin URI: http://museumthemes.com/book-review-library/
* Description: A book cataloguing and review system designed with bookophiles and librarians in mind.
* Version: 1.4.23
* Author: Chris Reynolds
* Author URI: http://chrisreynolds.io
* License: GPL3
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Text Domain: book-review-library
* Domain Path: /lang
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
define( 'BOOK_REVIEWS_FUNC', plugin_dir_path( __FILE__ ) . 'inc/func.php' );
define( 'BOOK_REVIEWS_WIDGETS', plugin_dir_path( __FILE__ ) . 'inc/widgets.php' );
$is_book_review_shortcode = false;
require_once( plugin_dir_path( __FILE__ ) . 'class-book-reviews.php' );
// Register hooks that are fired when the plugin is activated, deactivated, and uninstalled, respectively.
register_activation_hook( __FILE__, array( 'Book_Reviews', 'activate' ) );
register_deactivation_hook( __FILE__, array( 'Book_Reviews', 'deactivate' ) );
Book_Reviews::get_instance();