WC_Queue::get_class()

Get class to instantiate


Description Description

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


Return Return

(string)


Top ↑

Source Source

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

	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 );
	}


Top ↑

User Contributed Notes User Contributed Notes

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