WP_REST_Block_Types_Controller
Core class used to access block types via the REST API.
Core class used to access block types via the REST API.
Constructor.
Checks whether a given block type should be visible.
Get the block, if the name is valid.
Retrieves the query params for collections.
Retrieves a specific block type.
Checks if a given request has access to read a block type.
Retrieves the block type’ schema, conforming to JSON Schema.
Retrieves all post block types, depending on user context.
Checks whether a given request has permission to read post block types.