WP_REST_Plugins_Controller::sanitize_plugin_param()
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: 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 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 the plugin matches the requested parameters.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:805
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: Checks if the plugin is installed.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:840
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
Method: Updates one plugin.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:461