WC_Shipping_Method::has_settings()
Does this method have a settings page?
Method of the class: WC_Shipping_Method{}
No Hooks.
Return
true|false
.
Usage
$WC_Shipping_Method = new WC_Shipping_Method(); $WC_Shipping_Method->has_settings();
WC_Shipping_Method::has_settings() WC Shipping Method::has settings code WC 8.7.0
public function has_settings() { return $this->instance_id ? $this->supports( 'instance-settings' ) : $this->supports( 'settings' ); }