Menu implements Registerable, Standard_Service
Handles the custom menu
Tags
Interfaces, Classes and Traits
- Registerable
- Standard_Service
Table of Contents
- highlight_submenus() : string
- Highlight submenu pages.
- register() : mixed
- {@inheritdoc}
- remove_submenu_link() : mixed
- Hide the Import CSV sub menu link
Methods
highlight_submenus()
Highlight submenu pages.
public
highlight_submenus(string $submenu_file) : string
Parameters
- $submenu_file : string
-
The filename of the sub menu.
Tags
Return values
string —$submenu_file
register()
{@inheritdoc}
public
register() : mixed
Tags
Return values
mixed —remove_submenu_link()
Hide the Import CSV sub menu link
public
remove_submenu_link() : mixed