action_scheduler_pastdue_actions_check_interval
Usage
add_filter( 'action_scheduler_pastdue_actions_check_interval', 'wp_kama_action_scheduler_pastdue_actions_check_interval_filter', 10, 2 ); /** * Function for `action_scheduler_pastdue_actions_check_interval` filter-hook. * * @param $round * @param $threshold_seconds * * @return */ function wp_kama_action_scheduler_pastdue_actions_check_interval_filter( $round, $threshold_seconds ){ // filter... return $round; }
- $round
- -
- $threshold_seconds
- -
Where the hook is called
action_scheduler_pastdue_actions_check_interval
woocommerce/packages/action-scheduler/classes/ActionScheduler_AdminView.php 200
$interval = apply_filters( 'action_scheduler_pastdue_actions_check_interval', round( $threshold_seconds / 4 ), $threshold_seconds );