WP_REST_Block_Patterns_Controller::get_item_schema()
Retrieves the block pattern schema, conforming to JSON Schema.
Welcome to the WPPaste WordPress Method index. This page contains a an alphabetically sorted list of methods that are available for use in WordPress. Each method has a brief description of what it does and how it can be used. To find out more about a particular method, simply click on the method name.
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.
Constructs the controller.
Returns block output from block’s registered render_callback.
Checks if a given request has access to read blocks.
Retrieves block’s output schema, conforming to JSON Schema.
Registers the necessary REST API routes, one for each dynamic block.