WordPress at Your Fingertips
function is not described

WC_Shipping_Method::has_settings() public WC 1.0

Does this method have a settings page?

{} It's a 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();

Code of WC_Shipping_Method::has_settings() WC 5.8.0

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