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:

Description

Determines the status we can perform on a plugin.

Related Functions

install_plugin_information, install_plugins_upload, install_plugins_favorites_form, uninstall_plugin, is_plugin_inactive

Top Google Results

User discussions

wpseek mobile