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

changing all 'TODO' to '@TODO'

changing all 'TODO' to '@TODO' so that they are easier to find in IDE's that support @TODO tags

Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
This commit is contained in:
Tom McFarlin 2013-11-16 12:30:18 -05:00
parent adeb21c1c7
commit 119c874120
6 changed files with 35 additions and 35 deletions

View file

@ -16,7 +16,7 @@
* If you're interested in introducing public-facing
* functionality, then refer to `class-plugin-name.php`
*
* TODO: Rename this class to a proper name for your plugin.
* @TODO: Rename this class to a proper name for your plugin.
*
* @package Plugin_Name_Admin
* @author Your Name <email@example.com>
@ -48,10 +48,10 @@ class Plugin_Name_Admin {
* @since 1.0.0
*/
private function __construct() {
/*
* TODO :
*
* @TODO :
*
* - Decomment following lines if the admin class should only be available for super admins
*/
/* if( ! is_super_admin() ) {
@ -61,7 +61,7 @@ class Plugin_Name_Admin {
/*
* Call $plugin_slug from public plugin class.
*
* TODO:
* @TODO:
*
* - Rename "Plugin_Name" to the name of your initial plugin class
*
@ -86,8 +86,8 @@ class Plugin_Name_Admin {
* Read more about actions and filters:
* http://codex.wordpress.org/Plugin_API#Hooks.2C_Actions_and_Filters
*/
add_action( 'TODO', array( $this, 'action_method_name' ) );
add_filter( 'TODO', array( $this, 'filter_method_name' ) );
add_action( '@TODO', array( $this, 'action_method_name' ) );
add_filter( '@TODO', array( $this, 'filter_method_name' ) );
}
@ -99,10 +99,10 @@ class Plugin_Name_Admin {
* @return object A single instance of this class.
*/
public static function get_instance() {
/*
* TODO :
*
* @TODO :
*
* - Decomment following lines if the admin class should only be available for super admins
*/
/* if( ! is_super_admin() ) {
@ -120,7 +120,7 @@ class Plugin_Name_Admin {
/**
* Register and enqueue admin-specific style sheet.
*
* TODO:
* @TODO:
*
* - Rename "Plugin_Name" to the name your plugin
*
@ -144,7 +144,7 @@ class Plugin_Name_Admin {
/**
* Register and enqueue admin-specific JavaScript.
*
* TODO:
* @TODO:
*
* - Rename "Plugin_Name" to the name your plugin
*
@ -179,7 +179,7 @@ class Plugin_Name_Admin {
*
* Administration Menus: http://codex.wordpress.org/Administration_Menus
*
* TODO:
* @TODO:
*
* - Change 'Page Title' to the title of your plugin admin page
* - Change 'Menu Text' to the text for menu item for the plugin settings page
@ -231,7 +231,7 @@ class Plugin_Name_Admin {
* @since 1.0.0
*/
public function action_method_name() {
// TODO: Define your action hook callback here
// @TODO: Define your action hook callback here
}
/**
@ -244,7 +244,7 @@ class Plugin_Name_Admin {
* @since 1.0.0
*/
public function filter_method_name() {
// TODO: Define your filter hook callback here
// @TODO: Define your filter hook callback here
}
}

View file

@ -18,6 +18,6 @@
<?php screen_icon(); ?>
<h2><?php echo esc_html( get_admin_page_title() ); ?></h2>
<!-- TODO: Provide markup for your options page here. -->
<!-- @TODO: Provide markup for your options page here. -->
</div>