WP_REST_Plugins_Controller
Core class to access plugins via the REST API.
Core class to access plugins via the REST API.
Plugins controller constructor.
Checks if the given plugin can be viewed by the current user.
Uploads a plugin and optionally activates it.
Checks if a given request has access to upload plugins.
Deletes one plugin from the site.
Checks if a given request has access to delete a specific plugin.
Checks if the plugin matches the requested parameters.
Retrieves the query params for the collections.
Retrieves one plugin from the site.