mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 20:03:53 +02:00
since we're loading a single style sheet, using the singular form of the term
related #48
This commit is contained in:
parent
0154512f69
commit
6f39dbc677
1 changed files with 4 additions and 4 deletions
|
@ -71,11 +71,11 @@ class PluginName {
|
||||||
// Add the options page and menu item.
|
// Add the options page and menu item.
|
||||||
// add_action( 'admin_menu', array( $this, 'add_plugin_admin_menu' ) );
|
// add_action( 'admin_menu', array( $this, 'add_plugin_admin_menu' ) );
|
||||||
|
|
||||||
// Load admin stylesheets and JavaScript.
|
// Load admin style sheet and JavaScript.
|
||||||
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_styles' ) );
|
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_styles' ) );
|
||||||
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_scripts' ) );
|
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_scripts' ) );
|
||||||
|
|
||||||
// Load public-facing stylesheets and JavaScript.
|
// Load public-facing style sheet and JavaScript.
|
||||||
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles' ) );
|
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles' ) );
|
||||||
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ class PluginName {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Register and enqueue admin-specific stylesheets.
|
* Register and enqueue admin-specific style sheet.
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*
|
*
|
||||||
|
@ -179,7 +179,7 @@ class PluginName {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Register and enqueue public-facing stylesheets.
|
* Register and enqueue public-facing style sheet.
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue