Automattic\WooCommerce\Blocks\BlockTypes\OrderConfirmation

CreateAccount::is_feature_enabled()protectedWC 1.0

Returns if delayed account creation is enabled.

Method of the class: CreateAccount{}

No Hooks.

Return

true|false.

Usage

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

CreateAccount::is_feature_enabled() code WC 9.6.0

protected function is_feature_enabled() {
	return get_option( 'woocommerce_enable_delayed_account_creation', 'yes' ) === 'yes';
}