Automattic\WooCommerce\Blocks\BlockTypes\OrderConfirmation

CreateAccount::is_feature_enabled │ protected │ WC 1.0

Returns if delayed account creation is enabled.

Method of the class: CreateAccount{}

No Hooks.

Returns

bool.

Usage

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

CreateAccount::is_feature_enabled() code WC 11.3.0

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