File: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
-
Fires immediately after a single post is deleted or trashed via the REST API.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1186 -
Determines the allowed query_vars for a get_items() response and prepares them for WP_Query.
Used by 3 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1201 -
Filters the query_vars used in get_items() for the constructed query.
Used by 2 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1214 -
Checks the post_date_gmt or modified_gmt and prepare any post or modified date for single post output.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1248 -
Prepares a single post for create or update.
Used by 3 functions | Uses 14 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1271 -
Updates a single post.
Used by 1 function | Uses 18 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:930 -
Checks if a given request has access to delete a post.
Used by 0 functions | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1051 -
Deletes a single post.
Used by 2 functions | Uses 11 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1076 -
Creates a single post.
Used by 2 functions | Uses 20 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:727 -
Fires after a single post is created or updated via the REST API.
Used by 2 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:794 -
Checks if a given request has access to update a post.
Used by 0 functions | Uses 9 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:879 -
Checks if a given request has access to read a post.
Used by 1 function | Uses 7 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:566 -
Checks if the user can access password-protected content.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:615 -
Retrieves a single post.
Used by 1 function | Uses 7 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:649 -
Checks if a given request has access to create a post.
Used by 1 function | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:673 -
Checks if a given request has access to read posts.
Used by 1 function | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:160 -
Retrieves a collection of posts.
Used by 1 function | Uses 20 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:215 -
Filters WP_Query arguments when querying posts via the REST API.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:444 -
Core class to access posts via the REST API.
Used by 6 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:17 -
Constructor.
Used by 4 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:57 -
Registers the routes for posts.
Used by 1 function | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:73