WordPress at Your Fingertips
filter is not described

action_scheduler_timeout_period filter-hook . WC 1.0

Unclaim pending actions that have not been run within a given time limit.

When called by ActionScheduler_Abstract_QueueRunner::run_cleanup(), the time limit passed as a parameter is 10x the time limit used for queue processing.


add_filter( 'action_scheduler_timeout_period', 'filter_function_name_9168' );
function filter_function_name_9168( $time_limit ){
	// filter...

	return $time_limit;
The number of seconds to allow a queue to run before unclaiming its pending actions.
Default: 300 (5 minutes)

Where the hook is called

woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueCleaner.php 83
$timeout = apply_filters( 'action_scheduler_timeout_period', $time_limit );

Where in WP core the hook is used WooCommerce

Usage not found.