WC_Settings_Shipping::wc_is_installing()protectedWC 1.0

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

Method of the class: WC_Settings_Shipping{}

No Hooks.

Return

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 8.7.0

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