WP_REST_Pattern_Directory_Controller
Controller which provides REST endpoint for block patterns.
Controller which provides REST endpoint for block patterns.
Constructs the controller.
Retrieves the search parameters for the block pattern’s collection.
Retrieves the block pattern’s schema, conforming to JSON Schema.
Search and retrieve block patterns metadata
Checks whether a given request has permission to view the local block pattern directory.
Description Pending
Prepare a raw block pattern before it gets output in a REST API response.
Registers the necessary REST API routes.
Filter collection parameters for the block pattern directory controller.