Automattic\WooCommerce\Internal\StockNotifications

Config::creates_account_on_signup │ public static │ WC 1.0

Устарела с версии 11.2.0 Account creation on sign-up was removed.. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.

Whether an account is created on signup.

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

Метод класса: Config{}

Хуков нет.

Возвращает

bool.

Использование

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

Список изменений

Устарела с 11.2.0 Account creation on sign-up was removed.

Код Config::creates_account_on_signup() WC 11.3.0

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