1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2025-04-19 05:35:36 +03:00

replacing all instances of PluginName with PluginName as per the WordPress Coding Standards

fixes #61
This commit is contained in:
Tom McFarlin 2013-07-07 14:03:25 -04:00
parent f9ce10b207
commit 465603b5c8
5 changed files with 12 additions and 12 deletions

View file

@ -5,7 +5,7 @@
* A foundation off of which to build well-documented WordPress plugins that also follow
* WordPress coding standards and PHP best practices.
*
* @package PluginName
* @package Plugin_Name
* @author Your Name <email@example.com>
* @license GPL-2.0+
* @link http://example.com
@ -33,9 +33,9 @@ if ( ! defined( 'WPINC' ) ) {
require_once( plugin_dir_path( __FILE__ ) . 'class-plugin-name.php' );
// Register hooks that are fired when the plugin is activated, deactivated, and uninstalled, respectively.
// TODO: replace PluginName with the name of the plugin defined in `class-plugin-name.php`
register_activation_hook( __FILE__, array( 'PluginName', 'activate' ) );
register_deactivation_hook( __FILE__, array( 'PluginName', 'deactivate' ) );
// TODO: replace Plugin_Name with the name of the plugin defined in `class-plugin-name.php`
register_activation_hook( __FILE__, array( 'Plugin_Name', 'activate' ) );
register_deactivation_hook( __FILE__, array( 'Plugin_Name', 'deactivate' ) );
// TODO: replace PluginName with the name of the plugin defined in `class-plugin-name.php`
PluginName::get_instance();
// TODO: replace Plugin_Name with the name of the plugin defined in `class-plugin-name.php`
Plugin_Name::get_instance();