Automattic\WooCommerce\Internal\Admin

Analytics::add_feature_toggle()public staticWC 1.0

Устарела с версии 7.0. Больше не поддерживается и может быть удалена. Смотрите FeaturesController class).

Add the feature toggle to the features settings.

Метод класса: Analytics{}

Хуков нет.

Возвращает

Массив.

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

$result = Analytics::add_feature_toggle( $features );
$features(массив) (обязательный)
Feature sections.

Список изменений

Устарела с 7.0 The WooCommerce Admin features are now handled by the WooCommerce features engine (see the FeaturesController class).

Код Analytics::add_feature_toggle() WC 8.7.0

public static function add_feature_toggle( $features ) {
	return $features;
}