Un motore di ricerca WordPress per sviluppatori e autori di temi

in_plugin_update_message-{$file} ›

do_action( "in_plugin_update_message-{$file}", $plugin_data, $response )
Parametri: (2)
  • (array) $plugin_data { An array of plugin metadata. @type string $name The human-readable name of the plugin. @type string $plugin_uri Plugin URI. @type string $version Plugin version. @type string $description Plugin description. @type string $author Plugin author. @type string $author_uri Plugin author URI. @type string $text_domain Plugin text domain. @type string $domain_path Relative path to the plugin's .mo file(s). @type bool $network Whether the plugin can only be activated network wide. @type string $title The human-readable title of the plugin. @type string $author_name Plugin author's name. @type bool $update Whether there's an available update. Default null. }
  • (array) $response { An array of metadata about the available plugin update. @type int $id Plugin ID. @type string $slug Plugin slug. @type string $new_version New plugin version. @type string $url Plugin URL. @type string $package Plugin update package URL. }
Definito a:

Fires at the end of the update message container in each row of the plugins list table.

The dynamic portion of the hook name, $file, refers to the path of the plugin's primary file relative to the plugins directory.


do_action( "in_plugin_update_message-{$file}", $plugin_data, $response );