File: wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php
-
Include a hash of the query args, so that different requests are stored in separate caches.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php:386 -
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 4 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 12 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:187 -
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:215 -
Retrieves the block pattern’s schema, conforming to JSON Schema.
Used by 0 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php:226 -
Retrieves the search parameters for the block pattern’s collection.
Used by 1 function | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php:307 -
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:369 -
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