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_Name_Control
Customize control to represent the name field for a given menu.
WP_Customize_Nav_Menu_Location_Control::render_content
Render content just like a normal select control.
Advertisement
WP_Customize_Nav_Menu_Location_Control::to_json
Refresh the parameters passed to JavaScript via JSON.
WP_Customize_Nav_Menu_Location_Control
Customize Menu Location Control Class.
WP_Customize_Nav_Menu_Item_Setting::amend_customize_save_response
Export data for the JS client.
WP_Customize_Nav_Menu_Item_Setting::update
Creates/updates the nav_menu_item post for this setting.
Advertisement
WP_Customize_Nav_Menu_Item_Setting::sanitize
Sanitize an input.
WP_Customize_Nav_Menu_Item_Setting::value_as_wp_post_nav_menu_item
Get the value emulated into a WP_Post and set up as a nav_menu_item.
WP_Customize_Nav_Menu_Item_Setting::sort_wp_get_nav_menu_items
Re-apply the tail logic also applied on $items by wp_get_nav_menu_items().
WP_Customize_Nav_Menu_Item_Setting::filter_wp_get_nav_menu_items
Filters the wp_get_nav_menu_items() result to supply the previewed menu items.
Advertisement
WP_Customize_Nav_Menu_Item_Setting::preview
Handle previewing the setting.
WP_Customize_Nav_Menu_Item_Setting::populate_value
Ensure that the value is fully populated with the necessary properties.
WP_Customize_Nav_Menu_Item_Setting::value
Get the instance data for a given nav_menu_item setting.