style: add styling to menu link
This commit is contained in:
parent
c567c9ef44
commit
332f4b8284
1 changed files with 2 additions and 10 deletions
|
@ -25,14 +25,6 @@ class Footnotes_Layout_Init {
|
||||||
*/
|
*/
|
||||||
const C_STR_MAIN_MENU_SLUG = 'footnotes';
|
const C_STR_MAIN_MENU_SLUG = 'footnotes';
|
||||||
|
|
||||||
/**
|
|
||||||
* Plugin main menu name.
|
|
||||||
*
|
|
||||||
* @since 1.5.0
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
const C_STR_MAIN_MENU_TITLE = 'ManFisher';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains the settings layoutEngine
|
* Contains the settings layoutEngine
|
||||||
*
|
*
|
||||||
|
@ -77,9 +69,9 @@ class Footnotes_Layout_Init {
|
||||||
add_submenu_page(
|
add_submenu_page(
|
||||||
'options-general.php',
|
'options-general.php',
|
||||||
'footnotes Settings',
|
'footnotes Settings',
|
||||||
self::C_STR_MAIN_MENU_SLUG,
|
Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME,
|
||||||
'manage_options',
|
'manage_options',
|
||||||
'footnotes',
|
self::C_STR_MAIN_MENU_SLUG,
|
||||||
array( $this->settings_page, 'display_content' )
|
array( $this->settings_page, 'display_content' )
|
||||||
);
|
);
|
||||||
$this->settings_page->register_sub_page();
|
$this->settings_page->register_sub_page();
|
||||||
|
|
Reference in a new issue