File: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
-
Filters whether a post is trashable.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1089 -
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:1166 -
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:1181 -
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:1194 -
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:1228 -
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:774 -
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:859 -
Updates a single post.
Used by 1 function | Uses 18 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:910 -
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:1031 -
Deletes a single post.
Used by 2 functions | Uses 11 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1056 -
Creates a single post.
Used by 2 functions | Uses 20 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:707 -
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:546 -
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:595 -
Retrieves a single post.
Used by 1 function | Uses 7 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:629 -
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:653 -
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 -
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:426