WP_REST_Posts_Controller::get_items_permissions_check()
Checks if a given request has access to read posts.
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.
Checks if a given request has access to read posts.
Get the post, if the ID is valid.
Retrieve Link Description Objects that should be added to the Schema for the posts collection.
Determines the featured media based on a request param.
Determines validity and normalizes the given status parameter.
Sets the template for a post.
Updates the post’s terms from a REST request.
Checks the post_date_gmt or modified_gmt and prepare any post or modified date for single post output.
Prepares a single post for create or update.
Prepares a single post output for response.