ActionScheduler_QueueRunner::instance
Get instance.
Method of the class: ActionScheduler_QueueRunner{}
Hooks from the method
Returns
ActionScheduler_QueueRunner.
Usage
$result = ActionScheduler_QueueRunner::instance();
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;
}