WC_Queue::get_class()protected staticWC 1.0

Get class to instantiate

And make sure 3rd party code has the chance to attach a custom queue class.

Method of the class: WC_Queue{}

Hooks from the method

Return

String.

Usage

$result = WC_Queue::get_class();

WC_Queue::get_class() code WC 8.7.0

protected static function get_class() {
	if ( ! did_action( 'plugins_loaded' ) ) {
		wc_doing_it_wrong( __FUNCTION__, __( 'This function should not be called before plugins_loaded.', 'woocommerce' ), '3.5.0' );
	}

	return apply_filters( 'woocommerce_queue_class', self::$default_cass );
}