WP_REST_Plugins_Controller::register_routes()
Method: Registers the routes for the plugins controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:36
Method: Registers the routes for the plugins controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:36
Method: Get’s the activation status for a plugin.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:674
Method: Checks if a given request has access to get plugins.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:112
Method: Handle updating a plugin’s status.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:696
Method: Retrieves a collection of plugins.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:132
Method: Handle updating a plugin’s status.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:734
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: Checks that the “plugin” parameter is a valid path.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:774
Method: Retrieves one plugin from the site.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:188
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