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:1023 -
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:1100 -
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:1115 -
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:1128 -
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:1162 -
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:708 -
Checks if a given request has access to update a post.
Used by 0 functions | Uses 10 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:793 -
Updates a single post.
Used by 1 function | Uses 18 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:844 -
Checks if a given request has access to delete a post.
Used by 0 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:965 -
Deletes a single post.
Used by 2 functions | Uses 12 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:990 -
Creates a single post.
Used by 2 functions | Uses 21 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:641 -
Checks if a given request has access to read a post.
Used by 1 function | Uses 8 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:480 -
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:529 -
Retrieves a single post.
Used by 1 function | Uses 7 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:563 -
Checks if a given request has access to create a post.
Used by 1 function | Uses 7 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:587 -
Core class to access posts via the REST API.
Used by 5 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:17 -
Constructor.
Used by 3 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 4 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 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:154 -
Retrieves a collection of posts.
Used by 1 function | Uses 21 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:209 -
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:360