2014-04-09 23:22:44 +03:00
|
|
|
<?php
|
|
|
|
/**
|
2014-04-26 01:21:25 +03:00
|
|
|
* TODO: Short description (no period for file headers)
|
2014-04-11 17:36:57 +03:00
|
|
|
*
|
2014-04-26 01:21:25 +03:00
|
|
|
* TODO: Long description.
|
2014-04-09 23:22:44 +03:00
|
|
|
*
|
|
|
|
* @package Plugin_Name
|
|
|
|
* @author Your Name <email@example.com>
|
|
|
|
* @license GPL-2.0+
|
|
|
|
* @link http://example.com
|
|
|
|
* @copyright 2014 Your Name or Company Name
|
|
|
|
*
|
|
|
|
* @wordpress-plugin
|
2014-04-26 01:21:25 +03:00
|
|
|
* Plugin Name: TODO
|
|
|
|
* Plugin URI: TODO
|
|
|
|
* Description: TODO
|
|
|
|
* Version: TODO
|
|
|
|
* Author: TODO
|
|
|
|
* Author URI: TODO
|
2014-04-09 23:22:44 +03: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 17:36:57 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Includes the plugin activation class that runs during plugin activation.
|
|
|
|
*/
|
2014-04-26 01:39:31 +03:00
|
|
|
require_once plugin_dir_path( __FILE__ ) . 'includes/class-plugin-name-activator.php' );
|
2014-04-11 17:36:57 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Includes the plugin deactivation class that runs during plugin deactivation.
|
|
|
|
*/
|
2014-04-26 01:39:31 +03:00
|
|
|
require_once plugin_dir_path( __FILE__ ) . 'includes/class-plugin-name-deactivator.php' );
|
2014-04-11 17:36:57 +03: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-26 01:39:31 +03:00
|
|
|
register_activation_hook( __FILE__, array( 'Plugin_Name_Deactivator', 'deactivate' ) );
|