Checks if a given request has access to update a specific item.
WP_REST_Controller::create_item
Creates one item from the collection.
WP_REST_Controller::create_item_permissions_check
Checks if a given request has access to create items.
WP_REST_Controller::get_item
Retrieves one item from the collection.
Advertisement
WP_REST_Controller::get_item_permissions_check
Checks if a given request has access to get a specific item.
WP_REST_Controller::get_items
Retrieves a collection of items.
WP_REST_Controller::get_items_permissions_check
Checks if a given request has access to get items.
WP_REST_Controller::register_routes
Registers the routes for the objects of the controller.
Advertisement
WP_REST_Comments_Controller::check_comment_author_email
Checks a comment author email for validity.
WP_REST_Comments_Controller::check_edit_permission
Checks if a comment can be edited or deleted.
WP_REST_Comments_Controller::check_read_permission
Checks if the comment can be read.
WP_REST_Comments_Controller::check_read_post_permission
Checks if the post can be read.
Advertisement
WP_REST_Comments_Controller::handle_status_param
Sets the comment_status of a given comment object when creating or updating a comment.
WP_REST_Comments_Controller::get_collection_params
Retrieves the query params for collections.
WP_REST_Comments_Controller::get_item_schema
Retrieves the comment’s schema, conforming to JSON Schema.