WP_REST_Plugins_Controller::validate_plugin_param()
Method: Checks that the “plugin” parameter is a valid path.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:774
Method: Checks that the “plugin” parameter is a valid path.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:774
Method: Sanitizes the “plugin” parameter to be a proper plugin file with “.php” appended.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:792
Method: Checks if the plugin matches the requested parameters.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:805
Method: Checks if the plugin is installed.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:840
Method: Determine if the endpoints are available.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:853
Method: Retrieves the plugin’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:878
Method: Prepares links for the request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:630
Method: Retrieves the query params for the collections.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:986
Method: Gets the plugin header data for a plugin.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:653
Method: Get’s the activation status for a plugin.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:674
Method: Handle updating a plugin’s status.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:696
Method: Handle updating a plugin’s status.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:734
Method: Updates one plugin.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:461
Method: Checks if a given request has access to delete a specific plugin.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:495
Method: Deletes one plugin from the site.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:529
Method: Prepares the plugin for the REST response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:578
Method: Retrieves a collection of plugins.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:132
Filter Hook: Filters plugin data for a REST API response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:619
Method: Checks if a given request has access to get a specific plugin.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:162
Method: Retrieves one plugin from the site.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:188
Method: Checks if the given plugin can be viewed by the current user.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:211
Method: Checks if a given request has access to upload plugins.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:241
Method: Uploads a plugin and optionally activates it.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:273
Method: Checks if a given request has access to update a specific plugin.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:423
Class: Core class to access plugins via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:17
Method: Plugins controller constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:26
Method: Registers the routes for the plugins controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:36
Method: Checks if a given request has access to get plugins.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:112