Last active
October 8, 2021 07:00
-
-
Save webtoffee-git/e320eda20ace8860332c92523f1a3ed2 to your computer and use it in GitHub Desktop.
Modify cron check interval - Import export suite by WebToffee (https://www.webtoffee.com/product/woocommerce-import-export-suite/)
This file contains 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 //do not copy this line | |
add_filter('wt_iew_cron_interval_details', 'wt_iew_cron_interval_details_fn'); | |
function wt_iew_cron_interval_details_fn($schedules) { | |
$schedules['wt_iew_cron_interval'] = array( | |
'interval' => (60), //60 second | |
'display' => __('Every minute'), | |
); | |
return $schedules; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment