<?php
/**

 *
 * @since             1.0.0
 * @package           Author_Kit
 *
 * @wordpress-plugin
 * Plugin Name:       Author Kit
 * Description:       Author Kit is a powerful, user-friendly WordPress plugin designed to simplify author management and enhance the user experience for multi-author websites. Perfect for blogs, magazines, and collaborative platforms, Author Kit empowers administrators and authors alike with its advanced features:
 * Version:           1.0.16
 * Author:            Author Kit Team
 * License:           GPL-2.0+
 * License URI:       http://www.gnu.org/licenses/gpl-2.0.txt
 * Text Domain:       author-kit
 * Domain Path:       /languages
 */

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

/**
 * Currently plugin version.
 * Start at version 1.0.0 and use SemVer - https://semver.org
 * Rename this for your plugin and update it as you release new versions.
 */
define( 'AUTHOR_KIT_VERSION', '1.0.16' );
define( 'AUTHOR_KIT_DB_VERSION', '1.0.0' );
define( 'AUTHOR_KIT_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
define( 'AUTHOR_KIT_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'AUTHOR_KIT_PLUGIN_FILE', __FILE__ );

/**
 * The code that runs during plugin activation.
 * This action is documented in includes/class/class-author-kit-activator.php
 */
function author_kit_activate() {
	require_once AUTHOR_KIT_PLUGIN_PATH . 'includes/class/class-author-kit-activator.php';
	Author_Kit_Activator::activate();

	do_action( 'author_kit_plugin_activate' );
}

/**
 * The code that runs during plugin deactivation.
 * This action is documented in includes/class/class-author-kit-deactivator.php
 */
function author_kit_deactivate() {
	require_once AUTHOR_KIT_PLUGIN_PATH . 'includes/class/class-author-kit-deactivator.php';
	Author_Kit_Deactivator::deactivate();

	do_action( 'author_kit_plugin_deactivate' );
}

register_activation_hook( __FILE__, 'author_kit_activate' );
register_deactivation_hook( __FILE__, 'author_kit_deactivate' );

/**
 * The core plugin class that is used to define internationalization,
 * admin-specific hooks, and public-facing site hooks.
 */
require AUTHOR_KIT_PLUGIN_PATH . 'includes/class-author-kit.php';

/**
 * Begins execution of the plugin.
 *
 * Since everything within the plugin is registered via hooks,
 * then kicking off the plugin from this point in the file does
 * not affect the page life cycle.
 *
 * @since    1.0.0
 */
function author_kit_run() {

	$plugin = new Author_Kit();
	$plugin->run();
}
author_kit_run();
