WP_REST_Block_Patterns_Controller
Core class used to access block patterns via the REST API.
Core class used to access block patterns via the REST API.
Constructs the controller.
Retrieves the block pattern schema, conforming to JSON Schema.
Retrieves all block patterns.
Checks whether a given request has permission to read block patterns.
Prepare a raw block pattern before it gets output in a REST API response.
Registers the routes for the objects of the controller.