WC_Shipping_Method::has_settings()
Does this method have a settings page?
Метод класса: WC_Shipping_Method{}
Хуков нет.
Возвращает
true|false
.
Использование
$WC_Shipping_Method = new WC_Shipping_Method(); $WC_Shipping_Method->has_settings();
Код WC_Shipping_Method::has_settings() WC Shipping Method::has settings WC 8.7.0
public function has_settings() { return $this->instance_id ? $this->supports( 'instance-settings' ) : $this->supports( 'settings' ); }