ActionScheduler_QueueRunner::instancepublic staticWC 1.0

Get instance.

Method of the class: ActionScheduler_QueueRunner{}

Hooks from the method

Returns

ActionScheduler_QueueRunner.

Usage

$result = ActionScheduler_QueueRunner::instance();

ActionScheduler_QueueRunner::instance() code WC 10.7.0

public static function instance() {
	if ( empty( self::$runner ) ) {
		$class        = apply_filters( 'action_scheduler_queue_runner_class', 'ActionScheduler_QueueRunner' );
		self::$runner = new $class();
	}

	return self::$runner;
}