Automattic\WooCommerce\Admin\Notes
Notes::schedule_unsnooze_notes
Schedule unsnooze notes event.
Method of the class: Notes{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = Notes::schedule_unsnooze_notes();
Notes::schedule_unsnooze_notes() Notes::schedule unsnooze notes code WC 10.8.1
public static function schedule_unsnooze_notes() {
if ( ! wp_next_scheduled( self::UNSNOOZE_HOOK ) ) {
wp_schedule_event( time() + 5, 'hourly', self::UNSNOOZE_HOOK );
}
}