New and updated in 4.7.0
-
Checks if a post can be edited.
Used by 3 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1827 -
Checks if a post can be created.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1845 -
Checks if a post can be deleted.
Used by 2 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1863 -
Prepares a single post output for response.
Used by 6 functions | Uses 29 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1885 -
Filters the post data for a REST API response.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2210 -
Filters a post before it is inserted via the REST API.
Used by 2 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1531 -
Determines validity and normalizes the given status parameter.
Used by 1 function | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1569 -
Determines the featured media based on a request param.
Used by 3 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1613 -
Sets the template for a post.
Used by 2 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1684 -
Updates the post’s terms from a REST request.
Used by 2 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1702 -
Checks whether current user can assign all terms sent with the current request.
Used by 2 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1730 -
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:1215 -
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:1231 -
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:1265 -
Prepares a single post for create or update.
Used by 3 functions | Uses 16 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1288 -
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:1123 -
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:1200 -
Creates a single post.
Used by 2 functions | Uses 21 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:741 -
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:808 -
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:893 -
Updates a single post.
Used by 1 function | Uses 18 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:944 -
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:1065 -
Deletes a single post.
Used by 2 functions | Uses 12 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1090 -
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:629 -
Retrieves a single post.
Used by 1 function | Uses 7 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:663 -
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:687 -
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:580 -
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 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:73