Automattic\WooCommerce\Internal\StockNotifications

Config::creates_account_on_signup │ public static │ WC 1.0

Deprecated since 11.2.0 Account creation on sign-up was removed.. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

Whether an account is created on signup.

Guest sign-ups no longer create accounts, so this always returns false.

Method of the class: Config{}

No Hooks.

Returns

bool.

Usage

$result = Config::creates_account_on_signup(): bool;

Changelog

Deprecated since 11.2.0 Account creation on sign-up was removed.

Config::creates_account_on_signup() code WC 11.2.2

public static function creates_account_on_signup(): bool {
	wc_deprecated_function( __METHOD__, '11.2.0' );
	return false;
}