@package: REST_API
-
Filters the list of request headers that are allowed for REST API CORS requests.
-
Filters the list of response headers that are exposed to REST API CORS requests.
-
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 -
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 -
Handle updating a plugin’s status.
Used by 2 functions | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:696 -
Handle updating a plugin’s status.
Used by 2 functions | Uses 7 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:734 -
Checks that the “plugin” parameter is a valid path.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:774 -
Sanitizes the “plugin” parameter to be a proper plugin file with “.php” appended.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:792 -
Checks if the plugin matches the requested parameters.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:805 -
Checks if the plugin is installed.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:840 -
Determine if the endpoints are available.
Used by 2 functions | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:853 -
Retrieves the plugin’s schema, conforming to JSON Schema.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:878 -
Prepares links for the request.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:630 -
Retrieves the query params for the collections.
Used by 1 function | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:986 -
Gets the plugin header data for a plugin.
Used by 3 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:653 -
Get’s the activation status for a plugin.
Used by 4 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:674 -
Checks if a given request has access to upload plugins.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:241 -
Uploads a plugin and optionally activates it.
Used by 0 functions | Uses 13 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:273 -
Checks if a given request has access to update a specific plugin.
Used by 0 functions | Uses 8 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:423 -
Updates one plugin.
Used by 0 functions | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:461 -
Checks if a given request has access to delete a specific plugin.
Used by 0 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:495