Checks if a given request has access to update a specific item.
WP_REST_Controller::create_item_permissions_check
Checks if a given request has access to create items.
WP_REST_Controller::create_item
Creates one item from the collection.
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_Controller
Core base controller for managing and interacting with REST API items.
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.
Advertisement
WP_REST_Comments_Controller::check_read_post_permission
Checks if the post can be read.
rest_comment_collection_params
Filter collection parameters for the comments controller.
WP_REST_Comments_Controller::handle_status_param
Sets the comment_status of a given comment object when creating or updating a comment.