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.


Top ↑

Return Return

(array)


Top ↑

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;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.14.7 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.