WP_REST_Plugins_Controller::get_plugin_data()
Method: Gets the plugin header data for a plugin.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:653
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:734
Method: Determine if the endpoints are available.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:853
Method: Checks if the plugin is installed.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:840
Method: Handle updating a plugin’s status.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:696
Method: Prepares the plugin for the REST response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:578
Method: Prepares links for the request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:630
Method: Registers the routes for the plugins controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:36
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