Returns block output from block’s registered render_callback.
WP_REST_Block_Renderer_Controller::get_item_schema
Retrieves block’s output schema, conforming to JSON Schema.
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.
Advertisement
WP_REST_Block_Renderer_Controller::__construct
Constructs the controller.
WP_REST_Block_Renderer_Controller
Controller which provides REST endpoint for rendering a block.