Export data for the JS client.
WP_Customize_Nav_Menu_Item_Setting::update
Creates/updates the nav_menu_item post for this setting.
content_save_pre
This filter is documented in wp-includes/post.php
excerpt_save_pre
This filter is documented in wp-includes/post.php
Advertisement
title_save_pre
This filter is documented in wp-includes/post.php
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().
Advertisement
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.
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::get_type_label
Get type label.
Advertisement
WP_Customize_Nav_Menu_Item_Setting::get_original_title
Get original title.
WP_Customize_Nav_Menu_Item_Setting::value
Get the instance data for a given nav_menu_item setting.
WP_Customize_Nav_Menu_Item_Setting::flush_cached_value
Clear the cached value when this nav menu item is updated.