Automattic\WooCommerce\Admin\Notes

Notes::schedule_unsnooze_notes()public staticWC 1.0

Schedule unsnooze notes event.

Method of the class: Notes{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = Notes::schedule_unsnooze_notes();

Notes::schedule_unsnooze_notes() code WC 9.0.1

public static function schedule_unsnooze_notes() {
	if ( ! wp_next_scheduled( self::UNSNOOZE_HOOK ) ) {
		wp_schedule_event( time() + 5, 'hourly', self::UNSNOOZE_HOOK );
	}
}