2014-04-09 16:22:44 -04:00
|
|
|
<?php
|
2014-04-30 22:55:42 -04:00
|
|
|
|
2014-04-09 16:22:44 -04:00
|
|
|
/**
|
2014-04-25 19:00:08 -04:00
|
|
|
* Short Description (no period for file headers)
|
2014-04-11 10:36:57 -04:00
|
|
|
*
|
2014-04-25 19:00:08 -04:00
|
|
|
* Long Description.
|
2014-04-09 16:22:44 -04:00
|
|
|
*
|
2014-04-30 22:34:39 -04:00
|
|
|
* @link URL
|
|
|
|
* @since x.x.x (if available)
|
2014-04-30 22:06:19 -04:00
|
|
|
* @package TODO
|
2014-04-09 16:22:44 -04:00
|
|
|
*
|
|
|
|
* @wordpress-plugin
|
2014-04-25 18:21:25 -04:00
|
|
|
* Plugin Name: TODO
|
|
|
|
* Plugin URI: TODO
|
|
|
|
* Description: TODO
|
|
|
|
* Version: TODO
|
|
|
|
* Author: TODO
|
|
|
|
* Author URI: TODO
|
2014-04-09 16:22:44 -04:00
|
|
|
* Text Domain: plugin-name-locale
|
|
|
|
* License: GPL-2.0+
|
|
|
|
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
|
|
|
* Domain Path: /languages
|
|
|
|
*/
|
|
|
|
|
|
|
|
// If this file is called directly, abort.
|
|
|
|
if ( ! defined( 'WPINC' ) ) {
|
|
|
|
die;
|
2014-04-11 10:36:57 -04:00
|
|
|
}
|
|
|
|
|
2014-05-01 23:43:32 -04:00
|
|
|
// Define the current stable version of the plugin
|
|
|
|
if ( ! defined( 'PLUGIN_NAME_VER' ) ) {
|
|
|
|
define( 'PLUGIN_NAME_VER', '1.0.0' );
|
|
|
|
}
|
|
|
|
|
2014-04-11 10:36:57 -04:00
|
|
|
/**
|
|
|
|
* Includes the plugin activation class that runs during plugin activation.
|
|
|
|
*/
|
2014-04-26 17:42:21 -04:00
|
|
|
require_once plugin_dir_path( __FILE__ ) . 'includes/class-plugin-name-activator.php';
|
2014-04-11 10:36:57 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Includes the plugin deactivation class that runs during plugin deactivation.
|
|
|
|
*/
|
2014-04-26 17:42:21 -04:00
|
|
|
require_once plugin_dir_path( __FILE__ ) . 'includes/class-plugin-name-deactivator.php';
|
2014-04-11 10:36:57 -04:00
|
|
|
|
|
|
|
/** This action is documented in includes/class-plugin-name-activator.php */
|
|
|
|
register_activation_hook( __FILE__, array( 'Plugin_Name_Activator', 'activate' ) );
|
|
|
|
|
|
|
|
/** This action is documented in includes/class-plugin-name-deactivator.php */
|
2014-04-25 18:39:31 -04:00
|
|
|
register_activation_hook( __FILE__, array( 'Plugin_Name_Deactivator', 'deactivate' ) );
|
2014-05-01 23:43:32 -04:00
|
|
|
|
|
|
|
|