action_scheduler_pastdue_actions_check, $check, $num_pastdue_actions, $threshold_seconds, $threshold_min
action_scheduler_pastdue_actions_check, $check, $num_pastdue_actions, $threshold_seconds, $threshold_min
Appears in: all-in-one-seo-pack.5.0.0.1
Hook Type: filter
Displaying hooks found in version: all-in-one-seo-pack.5.0.0.1apply_filters('action_scheduler_pastdue_actions_check, $check, $num_pastdue_actions, $threshold_seconds, $threshold_min') is found 1 times:
- /vendor/woocommerce/action-scheduler/classes/ActionScheduler_AdminView.php line 195
$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 >= $threshold_min ); $check = (bool) apply_filters( 'action_scheduler_pastdue_actions_check', $check, $num_pastdue_actions, $threshold_seconds, $threshold_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 );