Automattic\WooCommerce\Internal\Admin\Notes

MagentoMigration::save_note()public staticWC 1.0

Save the note to the database.

Method of the class: MagentoMigration{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = MagentoMigration::save_note();

MagentoMigration::save_note() code WC 8.6.1

public static function save_note() {
	$note = self::get_note();

	if ( self::note_exists() ) {
		return;
	}

	$note->save();
}