WP_REST_Posts_Controller::prepare_item_for_database()
Prepares a single post for create or update.
Prepares a single post for create or update.
Prepares a single post output for response.
Determines the allowed query_vars for a get_items() response and prepares them for WP_Query.
Prepares links for the request.
Prepares the ‘tax_query’ for a collection of posts.
Prepares the collection schema for including and excluding items by terms.
Overwrites the default protected title format.
Registers the routes for posts.
Sanitizes and validates the list of post statuses, including whether the user can query private statuses.
Updates a single post.