in_plugin_update_message-<file>

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

Description

do_action( 'in_plugin_update_message-<file>', (unknown) $plugin, (unknown) $version_info ); 

Parameters (2)

0. $plugin (unknown)
The plugin.
1. $version_info (unknown)
The version info.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'in_plugin_update_message-{$file}', $plugin, $version_info ); 
The following example is for adding a hook callback.
  1. // define the in_plugin_update_message-<file> callback 
  2. function action_in_plugin_update_message_file( $plugin, $version_info ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( "in_plugin_update_message-{$file}", 'action_in_plugin_update_message_file', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( "in_plugin_update_message-{$file}", 'action_in_plugin_update_message_file', 10, 2 ); 

Defined (1)

The action is defined in the following location(s).

/install/plugin-updater.php  
  1. do_action( "in_plugin_update_message-{$file}", $plugin, $version_info );