Automattic\WooCommerce\Internal\StockNotifications
Config::creates_account_on_signup
Устарела с версии 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() 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;
}