Automattic\WooCommerce\Internal\StockNotifications
Config::creates_account_on_signup
Check if an account is created on signup.
Method of the class: Config{}
No Hooks.
Returns
true|false.
Usage
$result = Config::creates_account_on_signup(): bool;
Config::creates_account_on_signup() Config::creates account on signup code WC 10.3.6
public static function creates_account_on_signup(): bool {
return 'yes' === get_option( 'woocommerce_customer_stock_notifications_create_account_on_signup', 'no' );
}