Automattic\WooCommerce\Blocks\BlockTypes\OrderConfirmation
CreateAccount::is_feature_enabled
Returns if delayed account creation is enabled.
Method of the class: CreateAccount{}
No Hooks.
Returns
true|false.
Usage
// protected - for code of main (parent) or child class $result = $this->is_feature_enabled();
CreateAccount::is_feature_enabled() CreateAccount::is feature enabled code WC 10.5.0
protected function is_feature_enabled() {
return get_option( 'woocommerce_enable_delayed_account_creation', 'yes' ) === 'yes';
}