WP_Customize_Nav_Menus::insert_auto_draft_post()
Method: Adds a new `auto-draft` post.
Source: wp-includes/class-wp-customize-nav-menus.php:947
Method: Adds a new `auto-draft` post.
Source: wp-includes/class-wp-customize-nav-menus.php:947
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
Action Hook: Fires after the roles have been initialized, allowing plugins to add their own roles.
Source: wp-includes/class-wp-roles.php:303
Function: Internal helper function to sanitize a string from user input or from the database.
Source: wp-includes/formatting.php:5540
Function: Sanitizes a multiline string from user input or from the database.
Source: wp-includes/formatting.php:5516