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


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

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();