Adds a theme submenu page link.
- Full name:
add_themes_submenu - Defined in:
cms/core/Shared/Helpers/menu.php
Parameters
| Parameter | Type | Description |
|---|---|---|
$menuTitle |
string | The text to be used for the menu. |
$menuRoute |
string | The route part of the url. |
$screen |
string | Unique name of menu's screen. |
$permission |
string|null | The permission required for this menu to be displayed to the user. |
Return Value
false|string
Return the new menu or false if permission is not met.