Automattic\WooCommerce\Internal\Admin\Notes

WooSubscriptionsNotes::add_no_connection_note()publicWC 1.0

Adds a note prompting to connect to WooCommerce.com.

Метод класса: WooSubscriptionsNotes{}

Хуков нет.

Возвращает

null. Ничего (null).

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

$WooSubscriptionsNotes = new WooSubscriptionsNotes();
$WooSubscriptionsNotes->add_no_connection_note();

Код WooSubscriptionsNotes::add_no_connection_note() WC 8.9.0

public function add_no_connection_note() {
	$note = self::get_note();
	$note->save();
}