WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WC_Shipping_Method::supports() WC 1.0

Check if a shipping method supports a given feature.

Methods should override this to declare support (or lack of support) for a feature.

Это метод класса: WC_Shipping_Method

Хуки из метода
Возвращает

true/false. True if the shipping method supports the feature, false otherwise.

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

$WC_Shipping_Method = new WC_Shipping_Method();
$var = $WC_Shipping_Method->supports( $feature );
$feature(строка) (обязательный)
The name of a feature to test support for.

Код WC Shipping Method::supports: woocommerce/includes/abstracts/abstract-wc-shipping-method.php WC 3.8.1

<?php
public function supports( $feature ) {
	return apply_filters( 'woocommerce_shipping_method_supports', in_array( $feature, $this->supports ), $feature, $this );
}