wppaste
WordPress

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

Since
2.8.0
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.

Compatibility

WordPress
since 2.8.0
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in every tracked release (6.7.7 to 7.1.0).

Parameters

$plugin_dataarray
An array of plugin metadata. See get_plugin_data() and the 'plugin_row_meta' filter for the list of possible values.
$responseobject
{ An object of metadata about the available plugin update.
@type string $id Plugin ID, e.g. w.org/plugins/[plugin-name].
@type string $slug Plugin slug.
@type string $plugin Plugin basename.
@type string $new_version New plugin version.
@type string $url Plugin URL.
@type string $package Plugin update package URL.
@type string[] $icons An array of plugin icon URLs.
@type string[] $banners An array of plugin banner URLs.
@type string[] $banners_rtl An array of plugin RTL banner URLs.
@type string $requires The version of WordPress which the plugin requires.
@type string $tested The version of WordPress the plugin is tested against.
@type string $requires_php The version of PHP which the plugin requires.
}
  • $idstring

    Plugin ID, e.g. w.org/plugins/[plugin-name].
  • $slugstring

    Plugin slug.
  • $pluginstring

    Plugin basename.
  • $new_versionstring

    New plugin version.
  • $urlstring

    Plugin URL.
  • $packagestring

    Plugin update package URL.
  • $iconsstring[]

    An array of plugin icon URLs.
  • $bannersstring[]

    An array of plugin banner URLs.
  • $banners_rtlstring[]

    An array of plugin RTL banner URLs.
  • $requiresstring

    The version of WordPress which the plugin requires.
  • $testedstring

    The version of WordPress the plugin is tested against.
  • $requires_phpstring

    The version of PHP which the plugin requires.

Where this hook fires · 1

  • wp-admin/includes/update.php:616wp_plugin_update_row()

Source code

		 *     @type string[] $banners_rtl  An array of plugin RTL banner URLs.		 *     @type string   $requires     The version of WordPress which the plugin requires.		 *     @type string   $tested       The version of WordPress the plugin is tested against.		 *     @type string   $requires_php The version of PHP which the plugin requires.		 * }		 */		do_action( "in_plugin_update_message-{$file}", $plugin_data, $response ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 		echo '</p></div></td></tr>';	}} /**

Changelog

Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 6.9.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.