Merge pull request woocommerce/woocommerce-admin#2015 from woocommerce/notes-queue-group
add WCA queue group to the unsnooze notes scheduled action
This commit is contained in:
commit
4b2ac14994
|
@ -131,7 +131,7 @@ class WC_Admin_Notes {
|
|||
$next = $queue->get_next( self::UNSNOOZE_HOOK );
|
||||
|
||||
if ( ! $next ) {
|
||||
$queue->schedule_recurring( time(), HOUR_IN_SECONDS, self::UNSNOOZE_HOOK );
|
||||
$queue->schedule_recurring( time(), HOUR_IN_SECONDS, self::UNSNOOZE_HOOK, array(), WC_Admin_Reports_Sync::QUEUE_GROUP );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue