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

Automattic\WooCommerce\Admin\Notes

WC_Admin_Notes_Install_JP_And_WCS_Plugins::get_note() public WC 1.0

Get the note.

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

Хуков нет.

Возвращает

Null. Ничего.

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

$result = WC_Admin_Notes_Install_JP_And_WCS_Plugins::get_note();

Код WC_Admin_Notes_Install_JP_And_WCS_Plugins::get_note() WC 4.7.1

<?php
public static function get_note() {
	$content = __( 'We noticed that there was a problem during the Jetpack and WooCommerce Shipping & Tax install. Please try again and enjoy all the advantages of having the plugins connected to your store! Sorry for the inconvenience. The "Jetpack" and "WooCommerce Shipping & Tax" plugins will be installed & activated for free.', 'woocommerce' );

	$note = new WC_Admin_Note();
	$note->set_title( __( 'Uh oh... There was a problem during the Jetpack and WooCommerce Shipping & Tax install. Please try again.', 'woocommerce' ) );
	$note->set_content( $content );
	$note->set_content_data( (object) array() );
	$note->set_type( WC_ADMIN_Note::E_WC_ADMIN_NOTE_INFORMATIONAL );
	$note->set_name( self::NOTE_NAME );
	$note->set_source( 'woocommerce-admin' );
	$note->add_action(
		'install-jp-and-wcs-plugins',
		__( 'Install plugins', 'woocommerce' ),
		false,
		WC_Admin_Note::E_WC_ADMIN_NOTE_ACTIONED,
		true
	);
	return $note;
}