WC_Queue::instance()

Single instance of WC_Queue_Interface


Description Description


Return Return

(WC_Queue_Interface)


Top ↑

Source Source

File: includes/queue/class-wc-queue.php

	final public static function instance() {

		if ( is_null( self::$instance ) ) {
			$class          = self::get_class();
			self::$instance = new $class();
			self::$instance = self::validate_instance( self::$instance );
		}
		return self::$instance;
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.