action_scheduler_maximum_execution_time_likely_to_be_exceeded хук-фильтрWC 1.0

Использование

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
-

Где вызывается хук

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 );

Где используется хук в WooCommerce

Использование не найдено.