Created
May 10, 2018 23:20
-
-
Save danielbitzer/0a98a3f2ff8bc4206844c8d47cd4287b to your computer and use it in GitHub Desktop.
Set queue to run every minute instead of every 5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'automatewoo_loaded', function() { | |
remove_action( 'automatewoo_five_minute_worker', [ 'AutomateWoo\Queue_Manager', 'check_for_queued_events' ] ); | |
add_action( 'automatewoo_events_worker', [ 'AutomateWoo\Queue_Manager', 'check_for_queued_events' ] ); | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment