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

Automattic\WooCommerce\Admin\Notes

LearnMoreAboutVariableProducts::get_note() public WC 1.0

Get the note.

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

Хуков нет.

Возвращает

Note/null. Ничего.

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

$result = LearnMoreAboutVariableProducts::get_note();

Код LearnMoreAboutVariableProducts::get_note() WC 5.2.2

<?php
public static function get_note() {
	$note = new Note();
	$note->set_title( __( 'Learn more about variable products', 'woocommerce' ) );
	$note->set_content(
		__(
			'Variable products are a powerful product type that lets you offer a set of variations on a product, with control over prices, stock, image and more for each variation. They can be used for a product like a shirt, where you can offer a large, medium and small and in different colors.',
			'woocommerce'
		)
	);
	$note->set_content_data( (object) array() );
	$note->set_type( Note::E_WC_ADMIN_NOTE_INFORMATIONAL );
	$note->set_name( self::NOTE_NAME );
	$note->set_source( 'woocommerce-admin' );
	$note->add_action(
		'learn-more',
		__( 'Learn more', 'woocommerce' ),
		'https://docs.woocommerce.com/document/variable-product/?utm_source=inbox'
	);

	return $note;
}