Hashes (hmac) the nav menu arguments to ensure they are not tampered with when submitted in the Ajax request.
WP_Customize_Nav_Menus::customize_preview_enqueue_deps
Enqueue scripts for the Customizer preview.
WP_Customize_Nav_Menus::export_preview_data
Exports data from PHP to JS.
WP_Customize_Nav_Menus::export_partial_rendered_nav_menu_instances
Export any wp_nav_menu() calls during the rendering of any partials.
Advertisement
WP_Customize_Nav_Menus::render_nav_menu_partial
Render a specific menu via wp_nav_menu() using the supplied arguments.
WP_Customize_Nav_Menus::customize_preview_init
Add hooks for the Customizer preview.
WP_Customize_Nav_Menus::make_auto_draft_status_previewable
Make the auto-draft status protected so that it can be queried.
WP_Customize_Nav_Menus::sanitize_nav_menus_created_posts
Sanitize post IDs for posts created for nav menu items to be published.
Advertisement
WP_Customize_Nav_Menus::save_nav_menus_created_posts
Publish the auto-draft posts that were created for nav menu items.
WP_Customize_Nav_Menus::filter_wp_nav_menu_args
Keep track of the arguments that are being passed to wp_nav_menu().
WP_Customize_Nav_Menus::filter_wp_nav_menu
Prepares wp_nav_menu() calls for partial refresh.
WP_Customize_Nav_Menus::customize_register
Add the customizer settings and controls.
Advertisement
WP_Customize_Nav_Menus::intval_base10
Get the base10 intval.
WP_Customize_Nav_Menus::available_item_types
Return an array of all the available item types.
WP_Customize_Nav_Menus::insert_auto_draft_post
Add a new `auto-draft` post.