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.

Метод класса: WC_Queue{}

Хуки из метода

Возвращает

Строку.

Использование

$result = WC_Queue::get_class();

Код WC_Queue::get_class() 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 );
}