WC_Shipping_Method::has_settings │ public │ WC 1.0

Does this method have a settings page?

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

Хуков нет.

Возвращает

bool.

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

$WC_Shipping_Method = new WC_Shipping_Method();
$WC_Shipping_Method->has_settings();

Код WC_Shipping_Method::has_settings() WC 11.3.0

public function has_settings() {
	return $this->instance_id ? $this->supports( 'instance-settings' ) : $this->supports( 'settings' );
}