action_scheduler_use_cpu_execution_time filter-hookWC 1.0

Usage

add_filter( 'action_scheduler_use_cpu_execution_time', 'wp_kama_action_scheduler_use_cpu_execution_time_filter' );

/**
 * Function for `action_scheduler_use_cpu_execution_time` filter-hook.
 * 
 * @param  $defined 
 *
 * @return 
 */
function wp_kama_action_scheduler_use_cpu_execution_time_filter( $defined ){

	// filter...
	return $defined;
}
$defined
-

Where the hook is called

ActionScheduler_Abstract_QueueRunner::get_execution_time()
action_scheduler_use_cpu_execution_time
woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php 277
if ( function_exists( 'getrusage' ) && apply_filters( 'action_scheduler_use_cpu_execution_time', defined( 'PANTHEON_ENVIRONMENT' ) ) ) {

Where the hook is used in WooCommerce

Usage not found.