WP_Customize_Nav_Menus::insert_auto_draft_post()
Adds a new auto-draft post.
Adds a new auto-draft post.
Gets the base10 intval.
Performs the post_type and taxonomy queries for loading available menu items.
Makes the auto-draft status protected so that it can be queried.
Prints the markup for available menu item custom links.
Prints the markup for new menu items.
Prints the JavaScript templates used to render Menu Customizer components.
Renders a specific menu via wp_nav_menu() using the supplied arguments.
Sanitizes post IDs for posts created for nav menu items to be published.
Publishes the auto-draft posts that were created for nav menu items.