WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WC_Plugins_Screen_Updates::in_plugin_update_message() public WC 1.0

Show plugin changes on the plugins screen. Code adapted from W3 Total Cache.

Это метод класса: WC_Plugins_Screen_Updates{}

Хуки из метода
Возвращает

Null. Ничего.

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

$WC_Plugins_Screen_Updates = new WC_Plugins_Screen_Updates();
$WC_Plugins_Screen_Updates->in_plugin_update_message( $args, $response );
$args(массив) (обязательный)
Unused parameter.
$response(stdClass) (обязательный)
Plugin update response.

Код WC_Plugins_Screen_Updates::in_plugin_update_message() WC 4.5.2

woocommerce/includes/admin/plugin-updates/class-wc-plugins-screen-updates.php
<?php
public function in_plugin_update_message( $args, $response ) {
	$this->new_version            = $response->new_version;
	$this->upgrade_notice         = $this->get_upgrade_notice( $response->new_version );
	$this->major_untested_plugins = $this->get_untested_plugins( $response->new_version, 'major' );

	$current_version_parts = explode( '.', Constants::get_constant( 'WC_VERSION' ) );
	$new_version_parts     = explode( '.', $this->new_version );

	// If user has already moved to the minor version, we don't need to flag up anything.
	if ( version_compare( $current_version_parts[0] . '.' . $current_version_parts[1], $new_version_parts[0] . '.' . $new_version_parts[1], '=' ) ) {
		return;
	}

	if ( ! empty( $this->major_untested_plugins ) ) {
		$this->upgrade_notice .= $this->get_extensions_inline_warning_major();
	}

	if ( ! empty( $this->major_untested_plugins ) ) {
		$this->upgrade_notice .= $this->get_extensions_modal_warning();
		add_action( 'admin_print_footer_scripts', array( $this, 'plugin_screen_modal_js' ) );
	}

	echo apply_filters( 'woocommerce_in_plugin_update_message', $this->upgrade_notice ? '</p>' . wp_kses_post( $this->upgrade_notice ) . '<p class="dummy">' : '' ); // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
}