Created
November 30, 2022 12:24
-
-
Save AshlinRejo/a57bc20475af43ab7db9a106346c9206 to your computer and use it in GitHub Desktop.
Discount rules v2: Run cron hourly
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
add_filter('advanced_woo_discount_rules_scheduled_rebuild_on_sale_index_event_recurrence', function ($recurrence){ | |
$recurrence = 'hourly'; | |
return $recurrence; | |
}, 10, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment