do_action( "in_plugin_update_message-{$file}", array $plugin_data , object $response )
Fires at the end of the update message container in each row of the plugins list table.
Description
The dynamic portion of the hook name, $file
, refers to the path of the plugin’s primary file relative to the plugins directory.
Parameters
- $plugin_data
-
An array of plugin metadata. See get_plugin_data() and the 'plugin_row_meta' filter for the list of possible values.
- $response
-
An object of metadata about the available plugin update.<br>
- 'id'
(string) Plugin ID, e.g.w.org/plugins/[plugin-name]
.<br> - 'slug'
(string) Plugin slug.<br> - 'plugin'
(string) Plugin basename.<br> - 'new_version'
(string) New plugin version.<br> - 'url'
(string) Plugin URL.<br> - 'package'
(string) Plugin update package URL.<br> - 'icons'
(string[]) An array of plugin icon URLs.<br> - 'banners'
(string[]) An array of plugin banner URLs.<br> - 'banners_rtl'
(string[]) An array of plugin RTL banner URLs.<br> - 'requires'
(string) The version of WordPress which the plugin requires.<br> - 'tested'
(string) The version of WordPress the plugin is tested against.<br> - 'requires_php'
(string) The version of PHP which the plugin requires.<br>
- 'id'
Source
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |