action_scheduler_pastdue_actions_check
action_scheduler_pastdue_actions_check
Appears in: woocommerce.7.4.0, woocommerce.7.4.1
Hook Type: filter
Displaying hooks found in version: woocommerce.7.4.1apply_filters('action_scheduler_pastdue_actions_check') is found 1 times:
- /packages/action-scheduler/classes/ActionScheduler_AdminView.php line 175
$num_pastdue_actions = ( int ) $store->query_actions( $query_args, 'count' ); # Check if past-due actions count is greater than or equal to threshold. $check = ( $num_pastdue_actions >= $threshhold_min ); $check = ( bool ) apply_filters( 'action_scheduler_pastdue_actions_check', $check, $num_pastdue_actions, $threshold_seconds, $threshhold_min ); } # If check failed, set transient and abort. if ( ! boolval( $check ) ) { $interval = apply_filters( 'action_scheduler_pastdue_actions_check_interval', round( $threshold_seconds / 4 ), $threshold_seconds ); set_transient( 'action_scheduler_last_pastdue_actions_check', time(), $interval );