Automattic\WooCommerce\Internal\StockNotifications
Config::creates_account_on_signup
Check if an account is created on signup.
Метод класса: Config{}
Хуков нет.
Возвращает
true|false.
Использование
$result = Config::creates_account_on_signup(): bool;
Код Config::creates_account_on_signup() Config::creates account on signup WC 10.7.0
public static function creates_account_on_signup(): bool {
return 'yes' === get_option( 'woocommerce_customer_stock_notifications_create_account_on_signup', 'no' );
}