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

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

add_filter( 'action_scheduler_memory_exceeded', 'wp_kama_action_scheduler_memory_exceeded_filter', 10, 2 );

/**
 * Function for `action_scheduler_memory_exceeded` filter-hook.
 * 
 * @param  $memory_exceeded 
 * @param  $that            
 *
 * @return 
 */
function wp_kama_action_scheduler_memory_exceeded_filter( $memory_exceeded, $that ){

	// filter...
	return $memory_exceeded;
}
$memory_exceeded
-
$that
-

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

ActionScheduler_Abstract_QueueRunner::memory_exceeded()
action_scheduler_memory_exceeded
woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php 215
return apply_filters( 'action_scheduler_memory_exceeded', $memory_exceeded, $this );

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

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