1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-12-22 11:53:53 +02:00

renaming the plugin activation and deactivation classes

Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
This commit is contained in:
Tom McFarlin 2014-04-11 10:36:13 -04:00
parent 766b47b643
commit b426fbe514
4 changed files with 72 additions and 0 deletions

View file

@ -0,0 +1,36 @@
<?php
/**
* @TODO: Short description (no period for file headers)
*
* @TODO: Long description.
*
* @package Plugin_Name
* @author Your Name <email@example.com>
* @license GPL-2.0+
* @link http://example.com
* @copyright 2014 Your Name or Company Name
*/
class Plugin_Name_Activator {
/**
* @TODO: Short description. (use period)
*
* @TODO: Long description.
*
* @since x.x.x
*
* @param type $var Description.
* @param array $args {
* Short description about this hash.
*
* @type type $var Description.
* @type type $var Description.
* }
* @param type $var Description.
*/
public static function activate() {
}
}

View file

@ -0,0 +1,36 @@
<?php
/**
* @TODO: Short description (no period for file headers)
*
* @TODO: Long description.
*
* @package Plugin_Name
* @author Your Name <email@example.com>
* @license GPL-2.0+
* @link http://example.com
* @copyright 2014 Your Name or Company Name
*/
class Plugin_Name_Deactivator {
/**
* @TODO: Short description. (use period)
*
* @TODO: Long description.
*
* @since x.x.x
*
* @param type $var Description.
* @param array $args {
* Short description about this hash.
*
* @type type $var Description.
* @type type $var Description.
* }
* @param type $var Description.
*/
public static function deactivate() {
}
}