Skip to content

Instantly share code, notes, and snippets.

@webtoffee-git
Last active October 8, 2021 07:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save webtoffee-git/e320eda20ace8860332c92523f1a3ed2 to your computer and use it in GitHub Desktop.
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/)
<?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