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.

Usage

$result = MagentoMigration::save_note();

MagentoMigration::save_note() code WC 7.1.0

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

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

	$note->save();
}