Checks if a given request has access to read comments.
WP_REST_Comments_Controller::register_routes
Registers the routes for the objects of the controller.
WP_REST_Comments_Controller::__construct
Constructor.
WP_REST_Blocks_Controller::get_item_schema
Retrieves the block’s schema, conforming to JSON Schema.
Advertisement
WP_REST_Blocks_Controller::filter_response_by_context
Filters a response based on the context defined in the schema.
WP_REST_Blocks_Controller::check_read_permission
Checks if a block can be read.
WP_REST_Block_Renderer_Controller::get_item_schema
Retrieves block’s output schema, conforming to JSON Schema.
WP_REST_Block_Renderer_Controller::get_item
Returns block output from block’s registered render_callback.
Advertisement
WP_REST_Block_Renderer_Controller::get_item_permissions_check
Checks if a given request has access to read blocks.
WP_REST_Block_Renderer_Controller::register_routes
Registers the necessary REST API routes, one for each dynamic block.
WP_REST_Block_Renderer_Controller::__construct
Constructs the controller.
WP_REST_Autosaves_Controller::get_collection_params
Retrieves the query params for the autosaves collection.
Advertisement
WP_REST_Autosaves_Controller::prepare_item_for_response
Prepares the revision for the REST response.
WP_REST_Autosaves_Controller::create_post_autosave
Creates autosave for the specified post.
WP_REST_Autosaves_Controller::get_item_schema
Retrieves the autosave’s schema, conforming to JSON Schema.