Add an admin submenu page link.
Uses admin.submenu.$location.{$menuRoute} filter hook.
- Full name:
add_admin_submenu - Defined in:
cms/core/Shared/Helpers/menu.php
Parameters
| Parameter | Type | Description |
|---|---|---|
$location |
string | Submenu location. |
$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
mixed