Automattic\WooCommerce\Blocks\Domain\Services
CreateAccount::is_feature_enabled()
Feature gating. This feature is only enabled when using the feature plugin/checkout block.
{} Это метод класса: CreateAccount{}
Хуков нет.
Возвращает
true|false
.
Использование
// private - только в коде основоного (родительского) класса $result = $this->is_feature_enabled();
Код CreateAccount::is_feature_enabled() CreateAccount::is feature enabled WC 6.8.0
private function is_feature_enabled() { return $this->package->feature()->is_feature_plugin_build(); }