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_Setting
Customize Setting to represent a nav_menu.
Advertisement
customize_sanitize_{$this->id}
This filter is documented in wp-includes/class-wp-customize-setting.php