action_scheduler_pastdue_actions_min

action_scheduler_pastdue_actions_min

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('action_scheduler_pastdue_actions_min') is found 1 times:

  • /packages/action-scheduler/classes/ActionScheduler_AdminView.php line 168
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    protected function check_pastdue_actions() {
     
        // Set thresholds.
        $threshold_seconds = (int) apply_filters( 'action_scheduler_pastdue_actions_seconds', DAY_IN_SECONDS );
        $threshold_min     = (int) apply_filters( 'action_scheduler_pastdue_actions_min', 1 );
     
        // Set fallback value for past-due actions count.
        $num_pastdue_actions = 0;
     
        // Allow third-parties to preempt the default check logic.
        $check = apply_filters( 'action_scheduler_pastdue_actions_check_pre', null );