WP_REST_Plugins_Controller::get_item()
Method: Retrieves one plugin from the site.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:188
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
Filter Hook: Filters a menu item before it is inserted via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:481
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: Prepares a single post output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:493
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
Filter Hook: Filters the menu item data for a REST API response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:637
Method: Uploads a plugin and optionally activates it.
Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:273