WP_REST_Block_Directory_Controller
Controller which provides REST endpoint for the blocks.
Controller which provides REST endpoint for the blocks.
Finds an installed plugin for the given slug.
Retrieves the search params for the blocks collection.
Retrieves the theme’s schema, conforming to JSON Schema.
Search and retrieve blocks metadata
Checks whether a given request has permission to install and activate plugins.
Parse block metadata for a block, and prepare it for an API response.
Generates a list of links to include in the response for the plugin.
Core class used to access block types via the REST API.
Constructor.