WordPress at a glance
action is not described

in_plugin_update_message-(file) action-hook . WP 2.8.0

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.

Usage

add_action( 'in_plugin_update_message-(file)', 'action_function_name_5593', 10, 2 );
function action_function_name_5593( $plugin_data, $response ){
	// action...
}
$plugin_data(array)

An array of plugin metadata.

  • name(string)
    The human-readable name of the plugin.

  • plugin_uri(string)
    Plugin URI.

  • version(string)
    Plugin version.

  • description(string)
    Plugin description.

  • author(string)
    Plugin author.

  • author_uri(string)
    Plugin author URI.

  • text_domain(string)
    Plugin text domain.

  • domain_path(string)
    Relative path to the plugin's .mo file(s).

  • network(true/false)
    Whether the plugin can only be activated network wide.

  • title(string)
    The human-readable title of the plugin.

  • author_name(string)
    Plugin author's name.

  • update(true/false)
    Whether there's an available update.
    Default: null
$response(array)

An array of metadata about the available plugin update.

  • id(int)
    Plugin ID.

  • slug(string)
    Plugin slug.

  • new_version(string)
    New plugin version.

  • url(string)
    Plugin URL.

  • package(string)
    Plugin update package URL.

Список изменений

С версии 2.8.0 Введена.

Где вызывается хук

wp_plugin_update_row()
in_plugin_update_message-(file)
wp-admin/includes/update.php 568
do_action( "in_plugin_update_message-{$file}", $plugin_data, $response ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores

Где используется хук в ядре WordPress

Использование не найдено.