WC_Settings_Shipping::wc_is_installingprotectedWC 1.0

Is WC_INSTALLING constant defined? This method exists to ease unit testing.

Method of the class: WC_Settings_Shipping{}

No Hooks.

Returns

true|false. True is the WC_INSTALLING constant is defined.

Usage

// protected - for code of main (parent) or child class
$result = $this->wc_is_installing();

WC_Settings_Shipping::wc_is_installing() code WC 10.5.0

protected function wc_is_installing() {
	return Constants::is_defined( 'WC_INSTALLING' );
}