action_scheduler_pastdue_actions_seconds

action_scheduler_pastdue_actions_seconds

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('action_scheduler_pastdue_actions_seconds') is found 1 times:

  • /packages/action-scheduler/classes/ActionScheduler_AdminView.php line 154
    	 */
    	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.