WC_Notes_Run_Db_Update::set_notice_actioned()
Set this notice to an actioned one, so that it’s no longer displayed.
Description Description
Source Source
File: includes/admin/notes/class-wc-notes-run-db-update.php
public static function set_notice_actioned() {
$note_id = self::get_current_notice();
if ( ! $note_id ) {
return;
}
$note = new WC_Admin_Note( $note_id );
$note->set_status( WC_Admin_Note::E_WC_ADMIN_NOTE_ACTIONED );
$note->save();
}