如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款
install_plugin_install_status( array|object $api, bool $loop = false )
Determine the status we can perform>
Contents
- Description
- Parameters
- Return
- Source
- Changelog
- Related
- User Contributed Notes
参数
- $api
(array|object)
(Required)
Data about the plugin retrieved from the API.
- $loop
(bool)
(Optional)
Disable further loops.
Default value: false
返回
(array) Plugin installation status data.
- 'status'
(string) Status of a plugin. Could be one of 'install', 'update_available', 'latest_installed' or 'newer_installed'. - 'url'
(string) Plugin installation URL. - 'version'
(string) The most recent version of the plugin. - 'file'
(string) Plugin filename relative to the plugins directory.