New and updated in 5.8.0
-
Checks if a given request has access to create a template.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:398 -
Base Templates REST API Controller.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:17 -
Creates a single template.
Used by 0 functions | Uses 14 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:410 -
Constructor.
Used by 2 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:34 -
Checks if a given request has access to delete a single template.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:462 -
Registers the controllers routes.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:47 -
Deletes a single template.
Used by 0 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:474 -
Checks if the user has permissions to make the request.
Used by 5 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:181 -
Prepares a single template for create or update.
Used by 2 functions | Uses 9 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:537 -
Checks if a given request has access to read templates.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:242 -
Search and retrieve block patterns metadata
Used by 0 functions | Uses 13 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php:89 -
Prepare a raw block pattern before it gets output in a REST API response.
Used by 1 function | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php:194 -
Filters the REST API response for a block pattern.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php:222 -
Retrieves the block pattern’s schema, conforming to JSON Schema.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php:233 -
Retrieves the search parameters for the block pattern’s collection.
Used by 1 function | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php:314 -
Filter collection parameters for the block pattern directory controller.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php:376 -
Registers the necessary REST API routes.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php:37 -
Checks whether a given request has permission to view the local block pattern directory.
Used by 0 functions | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php:61 -
Controller which provides REST endpoint for block patterns.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php:20 -
Constructs the controller.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php:27