Automattic\WooCommerce\Admin\Features
Features::add_features_settings()
Устарела с версии 7.0. Больше не поддерживается и может быть удалена. Смотрите
FeaturesController class)
.Adds the Features settings.
Метод класса: Features{}
Хуков нет.
Возвращает
Массив
.
Использование
$result = Features::add_features_settings( $settings, $current_section );
- $settings(массив) (обязательный)
- Settings.
- $current_section(строка) (обязательный)
- Current section slug.
Список изменений
Устарела с 7.0 | The WooCommerce Admin features are now handled by the WooCommerce features engine (see the FeaturesController class). |
Код Features::add_features_settings() Features::add features settings WC 9.8.4
public static function add_features_settings( $settings, $current_section ) { return $settings; }