WP_REST_Pattern_Directory_Controller::get_collection_params()
Retrieves the search parameters for the block pattern’s collection.
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.
Prepare a raw block pattern before it gets output in a REST API response.
Registers the necessary REST API routes.
Exposes the site logo through the WordPress REST API.
Core class used to manage a site’s sidebars.
Sidebars controller constructor.
Checks if the user has permissions to make the request.