<?php
/**
 * Plugin Name:         GS Book Showcase Lite
 * Plugin URI:          https://www.gsplugins.com/wordpress-plugins
 * Description:         Best Responsive Book Showcase plugin for WordPress to display Book Cover, Author, Reviews, Rating & many more. Display anywhere at your site using shortcode like [gs_bookshowcase id=#] & Widgets. Check <a href="https://bookshowcase.gsplugins.com">Books Showcase Demo</a> & <a href="https://docs.gsplugins.com/gs-books-showcase">Documentation</a>
 * Version:             3.1.0
 * Author:              GS Plugins
 * Author URI:          https://www.gsplugins.com
 * Text Domain:         gs-books-showcase
 * License:             GPL-2.0+
 * License URI:         http://www.gnu.org/licenses/gpl-2.0.txt
 *
 * @package   GS_Bookshowcase
 * @author    GS Plugins <hello@gsplugins.com>
 * @license   GPL-2.0+
 * @link      https://www.gsplugins.com
 * @copyright 2016 GS Plugins
 */

// Protect direct access.
if ( ! defined( 'ABSPATH' ) ) {
	die;
}

// Defining Constants.
define( 'GS_BOOKS_VERSION', '3.1.0' );
define( 'GS_BOOKS_MIN_PRO_VERSION', '3.0.7' );
define( 'GS_BOOKS_PLUGIN_FILE', __FILE__ );
define( 'GS_BOOKS_PLUGIN_FILENAME', plugin_basename( __FILE__ ) );
define( 'GS_BOOKS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'GS_BOOKS_PLUGIN_URI', plugins_url( '', __FILE__ ) );
define( 'GS_BOOKS_PRO_PLUGIN', 'gs-bookshowcase-pro/gs-bookshowcase-pro.php' );

require_once GS_BOOKS_PLUGIN_DIR . 'includes/autoloader.php';
require_once GS_BOOKS_PLUGIN_DIR . 'includes/functions.php';
require_once GS_BOOKS_PLUGIN_DIR . 'includes/init.php';


// add_action( 'admin_enqueue_scripts', 'gsbooks_admin_menu_separator' );
// function gsbooks_admin_menu_separator() {
//     wp_add_inline_style( 'wp-admin', '
//         #adminmenu .menu-icon-gs_bookshowcase ul.wp-submenu li a[href*="edit.php?post_type=gs_bookshowcase&page=gs-book-plugin-premium"] {
//             position: relative;
//             padding-left: 10px;
//         }
//         #adminmenu .menu-icon-gs_bookshowcase ul.wp-submenu li a[href*="edit.php?post_type=gs_bookshowcase&page=gs-book-plugin-premium"]::before {
//             content: "";
//             position: absolute;
//             background: hsla(0, 0%, 100%, .2);
//             width: 100%;
//             height: 1px;
//             top: -8px;
//             left: 0;
//         }
//     ' );
// }
