WP_REST_Block_Patterns_Controller
Methods
1 to 5 of 5
- WP_REST_Block_Patterns_Controller::get_item_schema() – Retrieves the block pattern schema, conforming to JSON Schema.
- WP_REST_Block_Patterns_Controller::get_items_permissions_check() – Checks whether a given request has permission to read block patterns.
- WP_REST_Block_Patterns_Controller::migrate_pattern_categories() – Migrates old core pattern categories to the new categories.
- WP_REST_Block_Patterns_Controller::prepare_item_for_response() – Prepare a raw block pattern before it gets output in a REST API response.
- WP_REST_Block_Patterns_Controller::register_routes() – Registers the routes for the objects of the controller.