Return an array of all the available item types.
WP_Customize_Nav_Menus::export_preview_data
Exports data from PHP to JS.
WP_Customize_Nav_Menus::insert_auto_draft_post
Add a new `auto-draft` post.
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::ajax_insert_auto_draft_post
Ajax handler for adding a new auto-draft post.
WP_Customize_Nav_Menus::render_nav_menu_partial
Render a specific menu via wp_nav_menu() using the supplied arguments.
WP_Customize_Nav_Menus::print_templates
Print the JavaScript templates used to render Menu Customizer components.
WP_Customize_Nav_Menus::available_items_template
Print the HTML template used to render the add-menu-item frame.
Advertisement
WP_Customize_Nav_Menus::print_post_type_container
Print the markup for new menu items.
WP_Customize_Nav_Menus::print_custom_links_available_menu_item
Print the markup for available menu item custom links.
WP_Customize_Nav_Menus::customize_dynamic_partial_args
Filters arguments for dynamic nav_menu selective refresh partials.
WP_Customize_Nav_Menus::customize_preview_init
Add hooks for the Customizer preview.
Advertisement
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.
WP_Customize_Nav_Menus::save_nav_menus_created_posts
Publish the auto-draft posts that were created for nav menu items.