install_plugin_install_status
install_plugin_install_status ( $api, $loop = false )
Parameters:- (array|object) api Data about the plugin retrieved from the API.
- (bool) loop Optional. Disable further loops. Default false.
Returns:- (array) { Plugin installation status data. @type string $status Status of a plugin. Could be one of 'install', 'update_available', 'latest_installed' or 'newer_installed'. @type string $url Plugin installation URL. @type string $version The most recent version of the plugin. @type string $file Plugin filename relative to the plugins directory. }
Defined at: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Description
Determines the status we can perform on a plugin.