WP_REST_Posts_Controller
Core class to access posts via the REST API.
Core class to access posts via the REST API.
Constructor.
Checks if the user can access password-protected content.
Checks whether current user can assign all terms sent with the current request.
Checks if a post can be created.
Checks if a post can be deleted.
Checks if a given post type can be viewed or managed.
Override the result of the post password check for REST requested posts.
Checks if a post can be read.
Checks whether the status is valid for the given post.