WP_Customize_Nav_Menus::ajax_insert_auto_draft_post()
Method: Ajax handler for adding a new auto-draft post.
Source: wp-includes/class-wp-customize-nav-menus.php:991
Method: Ajax handler for adding a new auto-draft post.
Source: wp-includes/class-wp-customize-nav-menus.php:991
Method: Prints the markup for new menu items.
Source: wp-includes/class-wp-customize-nav-menus.php:1229
Method: Prints the markup for available menu item custom links.
Source: wp-includes/class-wp-customize-nav-menus.php:1265
Method: Makes the auto-draft status protected so that it can be queried.
Source: wp-includes/class-wp-customize-nav-menus.php:1356
Method: Sanitizes post IDs for posts created for nav menu items to be published.
Source: wp-includes/class-wp-customize-nav-menus.php:1369
Method: Publishes the auto-draft posts that were created for nav menu items.
Source: wp-includes/class-wp-customize-nav-menus.php:1403
Method: Returns an array of all the available item types.
Source: wp-includes/class-wp-customize-nav-menus.php:889
Filter Hook: Filters the available menu item types.
Source: wp-includes/class-wp-customize-nav-menus.php:927
Method: Adds a new `auto-draft` post.
Source: wp-includes/class-wp-customize-nav-menus.php:947
Action Hook: Fires after the roles have been initialized, allowing plugins to add their own roles.
Source: wp-includes/class-wp-roles.php:303