action_scheduler_pastdue_actions_check_pre

action_scheduler_pastdue_actions_check_pre

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

See hook in core

Displaying hooks found in version: woocommerce.9.7.1

apply_filters('action_scheduler_pastdue_actions_check_pre') is found 1 times:

  • /packages/action-scheduler/classes/ActionScheduler_AdminView.php line 174
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    // 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 );
     
    // If no third-party preempted and there are no past-due actions, return early.
    if ( ! is_null( $check ) ) {
        return;
    }