LLMS_Nav_Menus::customize_add_type( array $types )
Add the LifterLMS menu item section to the customizer.
Parameters Parameters
- $types
-
(array) (Required) Existing menu item types.
Return Return
(array)
Source Source
File: includes/class.llms.nav.menus.php
public function customize_add_type( $types ) {
$types['llms_nav_menu_items'] = array(
'title' => _x( 'LifterLMS', 'customizer menu section title', 'lifterlms' ),
'type' => 'llms_nav',
'object' => 'llms_nav',
);
return $types;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.14.7 | Introduced. |