action_scheduler_maximum_execution_time_likely_to_be_exceeded filter-hookWC 1.0

Usage

add_filter( 'action_scheduler_maximum_execution_time_likely_to_be_exceeded', 'wp_kama_action_scheduler_maximum_execution_time_likely_to_be_exceeded_filter', 10, 5 );

/**
 * Function for `action_scheduler_maximum_execution_time_likely_to_be_exceeded` filter-hook.
 * 
 * @param  $likely_to_be_exceeded 
 * @param  $that                  
 * @param  $processed_actions     
 * @param  $execution_time        
 * @param  $max_execution_time    
 *
 * @return 
 */
function wp_kama_action_scheduler_maximum_execution_time_likely_to_be_exceeded_filter( $likely_to_be_exceeded, $that, $processed_actions, $execution_time, $max_execution_time ){

	// filter...
	return $likely_to_be_exceeded;
}
$likely_to_be_exceeded
-
$that
-
$processed_actions
-
$execution_time
-
$max_execution_time
-

Where the hook is called

ActionScheduler_Abstract_QueueRunner::time_likely_to_be_exceeded()
action_scheduler_maximum_execution_time_likely_to_be_exceeded
woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php 307
return apply_filters( 'action_scheduler_maximum_execution_time_likely_to_be_exceeded', $likely_to_be_exceeded, $this, $processed_actions, $execution_time, $max_execution_time );

Where the hook is used in WooCommerce

Usage not found.