WP_REST_Posts_Controller::prepare_items_query()
Determines the allowed query_vars for a get_items() response and prepares them for WP_Query.
Welcome to the WPPaste WordPress Method index. This page contains a an alphabetically sorted list of methods that are available for use in WordPress. Each method has a brief description of what it does and how it can be used. To find out more about a particular method, simply click on the method name.
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.
Checks if a given request has access to update a post.
Constructor.