![]() |
WPDK
1.5.0
WordPress Development Kit
|
Public Member Functions | |
| __construct ($parent, $title= '') | |
| Construct. More... | |
Public Member Functions inherited from WPDKSubMenu | |
| __construct ($parent, $id, $menu_title, $view_controller= '', $capability=self::DEFAULT_CAPABILITY) | |
| Construct. More... | |
| render () | |
| Render. More... | |
Data Fields | |
| const | DEFAULT_CAPABILITY = 'manage_options' |
| Capability. More... | |
| const | DIVIDER = 'wpdk_menu_divider' |
| Divider. More... | |
Data Fields inherited from WPDKSubMenu | |
| const | DEFAULT_CAPABILITY = 'read' |
| Capability. More... | |
| $capability = self::DEFAULT_CAPABILITY | |
| $hookName = '' | |
| $id = '' | |
| $menuTitle = '' | |
| $pageTitle = '' | |
| $parent = '' | |
| $viewController = '' | |
| $query_args = array() | |
| Query args. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from WPDKSubMenu | |
| static | renderByArray ($sub_menus) |
| Render by array. More... | |
Submenu divider
Definition at line 749 of file wpdk-menu.php.
| __construct | ( | $parent, | |
$title = '' |
|||
| ) |
Construct.
Create an instance of WPDKSubMenuDivider class
| object | string | $parent | Parent id menu |
| string | $title | Optional. Title of divider |
Definition at line 774 of file wpdk-menu.php.
| const DEFAULT_CAPABILITY = 'manage_options' |
| const DIVIDER = 'wpdk_menu_divider' |
Divider.
Prefix to use on unique key for create a separator menu item
Definition at line 762 of file wpdk-menu.php.