WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

Automattic\WooCommerce\Blocks\Domain\Services

CreateAccount::is_feature_enabled() private WC 1.0

Single method for feature gating logic. Used to gate all non-private methods.

{} Это метод класса: CreateAccount{}

Хуков нет.

Возвращает

True. if Checkout sign-up feature should be made available.

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

$result = CreateAccount::is_feature_enabled();

Код CreateAccount::is_feature_enabled() WC 4.7.1

<?php
private static function is_feature_enabled() {
	// This new checkout signup flow is gated to dev builds for now.
	// The main reason for this is that we are waiting on an new
	// set-password endpoint/form in WooCommerce Core.
	// When that's available we can review this and include in feature
	// plugin alongside checkout block.
	return Package::is_experimental_build();
}