File: wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php
-
Controller which provides REST endpoint for the blocks.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php:17 -
Constructs the controller.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php:22 -
Registers the necessary REST API routes.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php:30 -
Checks whether a given request has permission to install and activate plugins.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php:54 -
Search and retrieve blocks metadata
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php:74 -
Parse block metadata for a block, and prepare it for an API response.
Used by 1 function | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php:118 -
Generates a list of links to include in the response for the plugin.
Used by 1 function | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php:167 -
Finds an installed plugin for the given slug.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php:194 -
Retrieves the theme’s schema, conforming to JSON Schema.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php:215 -
Retrieves the search params for the blocks collection.
Used by 1 function | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php:305 -
Filters REST API collection parameters for the block directory controller.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php:326