File: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php
-
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 -
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 -
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 -
Deletes one plugin from the site.
Used by 0 functions | Uses 8 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:529 -
Prepares the plugin for the REST response.
Used by 5 functions | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:578 -
Retrieves a collection of plugins.
Used by 0 functions | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:132 -
Filters plugin data for a REST API response.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:619 -
Checks if a given request has access to get a specific plugin.
Used by 0 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:162 -
Retrieves one plugin from the site.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:188 -
Checks if the given plugin can be viewed by the current user.
Used by 4 functions | Uses 8 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:211 -
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 -
Core class to access plugins via the REST API.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:17 -
Plugins controller constructor.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:26 -
Registers the routes for the plugins controller.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:36 -
Checks if a given request has access to get plugins.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:112