WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

ActivityPanels::component_settings() public WC 1.0

Add alert count to the component settings.

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

No Hooks.

Return

null. Nothing.

Usage

$ActivityPanels = new ActivityPanels();
$ActivityPanels->component_settings( $settings );
$settings(array) (required)
Component settings.

Code of ActivityPanels::component_settings() WC 5.3.0

<?php
public function component_settings( $settings ) {
	$settings['alertCount'] = Notes::get_notes_count( array( 'error', 'update' ), array( 'unactioned' ) );
	return $settings;
}