WC_Notes_Run_Db_Update::set_notice_actioned()
Set this notice to an actioned one, so that it's no longer displayed.
Method of the class: WC_Notes_Run_Db_Update{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = WC_Notes_Run_Db_Update::set_notice_actioned();
WC_Notes_Run_Db_Update::set_notice_actioned() WC Notes Run Db Update::set notice actioned code WC 9.8.2
public static function set_notice_actioned() { $note_id = self::get_current_notice(); if ( ! $note_id ) { return; } $note = new Note( $note_id ); $note->set_status( Note::E_WC_ADMIN_NOTE_ACTIONED ); $note->save(); }