WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

Settings::add_component_settings() public WC 1.0

Add the necessary data to initially load the WooCommerce Settings pages.

{} It's a method of the class: Settings{}

No Hooks.

Return

Array. Array of component settings.

Usage

$result = Settings::add_component_settings( $settings );
$settings(array) (required)
Array of component settings.

Code of Settings::add_component_settings() WC 5.3.0

<?php
public static function add_component_settings( $settings ) {
	if ( ! is_admin() ) {
		return $settings;
	}

	$setting_pages = \WC_Admin_Settings::get_settings_pages();
	$pages         = array();
	foreach ( $setting_pages as $setting_page ) {
		$pages = $setting_page->add_settings_page( $pages );
	}

	$settings['settingsPages'] = $pages;

	return $settings;
}