File: wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php
-
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 -
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 -
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