in_plugin_update_message-{$file}
do_action( “in_plugin_update_message-{$file}”, array $p…
do_action( “in_plugin_update_message-{$file}”,  array $plugin_data,  array $response )
动作钩子::在插件列表的每一行的更新消息容器的末尾激发。
Action Hook: Fires at the end of the update message container in each row of the plugins list table.
动作钩子::在插件列表的每一行的更新消息容器的末尾激发。
Action Hook: Fires at the end of the update message container in each row of the plugins list table.
目录锚点:#说明#参数#源码
说明(Description)
钩子名$file的动态部分是指插件主文件相对于插件目录的路径。
参数(Parameters)
| 参数 | 类型 | 说明 | 
|---|---|---|
| $plugin_data | (array) | 插件元数据数组name’(string)插件的可读名称。 | 
| ‘plugin_uri'(string) Plugin URI. | ‘version’(string) Plugin version. | “description”(字符串)插件描述。 | 
| ‘author'(string) Plugin author. | ‘author_uri’(string) Plugin author URI. | “文本域”(字符串)插件文本域。 | 
| ‘domain_path'(string) Relative path to the plugin’s .mo file(s). | ‘network’(bool) Whether the plugin can only be activated network wide. | “title”(字符串)插件的可读标题。 | 
| ‘author_name'(string) Plugin author’s name. | ‘update’(bool) Whether there’s an available update. Default null. | $响应 | 
| (array) | An array of metadata about the available plugin update. ‘id’(int) Plugin ID. | “slug”(字符串)插件slug。 | 
| ‘new_version'(string) New plugin version. | ‘url’(string) Plugin URL. | “package”(字符串)插件更新包URL。 | 
源码(Source)
| 更新版本 | 源码位置 | 使用 | 被使用 | 
|---|---|---|---|
| 2.8.0 | wp-admin/includes/update.php:562 | 1 | 0 | 
本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。
还没有任何评论,赶紧来占个楼吧!