Automattic\WooCommerce\Internal\Admin\Notes

WooSubscriptionsNotes::add_no_connection_note()publicWC 1.0

Adds a note prompting to connect to WooCommerce.com.

Method of the class: WooSubscriptionsNotes{}

No Hooks.

Return

null. Nothing.

Usage

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

WooSubscriptionsNotes::add_no_connection_note() code WC 7.1.1

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