WordPress at Your Fingertips
filter is not described

action_scheduler_queue_runner_flush_cache filter-hook . WC 1.0

Running large batches can eat up memory, as WP adds data to its object cache.

If using a persistent object store, this has the side effect of flushing that as well, so this is disabled by default. To enable:

add_filter( action_scheduler_queue_runner_flush_cache, '__return_true' );


add_filter( 'action_scheduler_queue_runner_flush_cache', 'filter_function_name_1336' );
function filter_function_name_1336( $false ){
	// filter...

	return $false;

Where the hook is called

woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php 184
if ( ! wp_using_ext_object_cache() || apply_filters( 'action_scheduler_queue_runner_flush_cache', false ) ) {

Where in WP core the hook is used WooCommerce

Usage not found.