WC_Settings_Shipping::wc_is_installing │ protected │ WC 1.0

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

Method of the class: WC_Settings_Shipping{}

No Hooks.

Returns

bool. 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 11.1.2

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