Export data for the JS client.
WP_Customize_Nav_Menu_Setting::filter_nav_menu_options_value
Updates a nav_menu_options array.
WP_Customize_Nav_Menu_Setting::update
Create/update the nav_menu term for this setting.
WP_Customize_Nav_Menu_Setting::sanitize
Sanitize an input.
Advertisement
WP_Customize_Nav_Menu_Setting::filter_nav_menu_options
Filters the nav_menu_options option to include this menu’s auto_add preference.
WP_Customize_Nav_Menu_Setting::filter_wp_get_nav_menu_object
Filters the wp_get_nav_menu_object() result to supply the previewed menu object.
WP_Customize_Nav_Menu_Setting::_sort_menus_by_orderby
Sort menu objects by the class-supplied orderby property.
WP_Customize_Nav_Menu_Setting::filter_wp_get_nav_menus
Filters the wp_get_nav_menus() result to ensure the inserted menu object is included, and the deleted one is removed.
Advertisement
WP_Customize_Nav_Menu_Setting::preview
Handle previewing the setting.
WP_Customize_Nav_Menu_Setting::value
Get the instance data for a given widget setting.
WP_Customize_Nav_Menu_Setting::__construct
Constructor.
WP_Customize_Nav_Menu_Section::json
Get section parameters for JS.
Advertisement
WP_Customize_Nav_Menu_Name_Control::content_template
Render the Underscore template for this control.
WP_Customize_Nav_Menu_Name_Control::render_content
No-op since we’re using JS template.
WP_Customize_Nav_Menu_Locations_Control::content_template
JS/Underscore template for the control UI.