action_scheduler_memory_exceeded
Usage
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
- -
Where the hook is called
action_scheduler_memory_exceeded
woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php 359
return apply_filters( 'action_scheduler_memory_exceeded', $memory_exceeded, $this );