mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2025-04-19 05:35:36 +03:00
changed "dashboard" to "admin area"
dashboard-specific becomes admin-specific
This commit is contained in:
parent
b469237bda
commit
9c14d6e3eb
8 changed files with 24 additions and 24 deletions
|
@ -4,7 +4,7 @@
|
|||
* The file that defines the core plugin class
|
||||
*
|
||||
* A class definition that includes attributes and functions used across both the
|
||||
* public-facing side of the site and the dashboard.
|
||||
* public-facing side of the site and the admin area.
|
||||
*
|
||||
* @link http://example.com
|
||||
* @since 1.0.0
|
||||
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* The core plugin class.
|
||||
*
|
||||
* This is used to define internationalization, dashboard-specific hooks, and
|
||||
* This is used to define internationalization, admin-specific hooks, and
|
||||
* public-facing site hooks.
|
||||
*
|
||||
* Also maintains the unique identifier of this plugin as well as the current
|
||||
|
@ -61,7 +61,7 @@ class Plugin_Name {
|
|||
* Define the core functionality of the plugin.
|
||||
*
|
||||
* Set the plugin name and the plugin version that can be used throughout the plugin.
|
||||
* Load the dependencies, define the locale, and set the hooks for the Dashboard and
|
||||
* Load the dependencies, define the locale, and set the hooks for the admin area and
|
||||
* the public-facing side of the site.
|
||||
*
|
||||
* @since 1.0.0
|
||||
|
@ -85,7 +85,7 @@ class Plugin_Name {
|
|||
*
|
||||
* - Plugin_Name_Loader. Orchestrates the hooks of the plugin.
|
||||
* - Plugin_Name_i18n. Defines internationalization functionality.
|
||||
* - Plugin_Name_Admin. Defines all hooks for the dashboard.
|
||||
* - Plugin_Name_Admin. Defines all hooks for the admin area.
|
||||
* - Plugin_Name_Public. Defines all hooks for the public side of the site.
|
||||
*
|
||||
* Create an instance of the loader which will be used to register the hooks
|
||||
|
@ -109,7 +109,7 @@ class Plugin_Name {
|
|||
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-plugin-name-i18n.php';
|
||||
|
||||
/**
|
||||
* The class responsible for defining all actions that occur in the Dashboard.
|
||||
* The class responsible for defining all actions that occur in the admin area.
|
||||
*/
|
||||
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-plugin-name-admin.php';
|
||||
|
||||
|
@ -142,7 +142,7 @@ class Plugin_Name {
|
|||
}
|
||||
|
||||
/**
|
||||
* Register all of the hooks related to the dashboard functionality
|
||||
* Register all of the hooks related to the admin area functionality
|
||||
* of the plugin.
|
||||
*
|
||||
* @since 1.0.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue