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

Apply deprecated filter

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

add_filter( 'action_scheduler_maximum_execution_time', 'wp_kama_action_scheduler_maximum_execution_time_filter' );

/**
 * Function for `action_scheduler_maximum_execution_time` filter-hook.
 * 
 * @param  $maximum_execution_time 
 *
 * @return 
 */
function wp_kama_action_scheduler_maximum_execution_time_filter( $maximum_execution_time ){

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

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

ActionScheduler_Abstract_QueueRunner_Deprecated::get_maximum_execution_time()
action_scheduler_maximum_execution_time
ActionScheduler_Abstract_QueueRunner::get_time_limit()
action_scheduler_maximum_execution_time
woocommerce/packages/action-scheduler/deprecated/ActionScheduler_Abstract_QueueRunner_Deprecated.php 22
$maximum_execution_time = apply_filters( 'action_scheduler_maximum_execution_time', $maximum_execution_time );
woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php 135
$time_limit = apply_filters( 'action_scheduler_maximum_execution_time', $time_limit );

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

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