Sanitize post IDs for posts created for nav menu items to be published.
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.
Advertisement
WP_Customize_Nav_Menus::hash_nav_menu_args
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::search_available_items_query
Performs post queries for available-item searching.
Advertisement
WP_Customize_Nav_Menus::enqueue_scripts
Enqueue scripts and styles for Customizer pane.
WP_Customize_Nav_Menus::filter_dynamic_setting_args
Filters a dynamic setting’s constructor args.
WP_Customize_Nav_Menus::filter_dynamic_setting_class
Allow non-statically created settings to be constructed with custom WP_Customize_Setting subclass.