WordPress at Your Fingertips
function is not described

WC_Settings_Page::add_settings_page() public WC 1.0

Add this page to settings.

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

No Hooks.

Return

Mixed.

Usage

$WC_Settings_Page = new WC_Settings_Page();
$WC_Settings_Page->add_settings_page( $pages );
$pages(array) (required)
The setings array where we'll add ourselves.

Code of WC_Settings_Page::add_settings_page() WC 5.9.0

public function add_settings_page( $pages ) {
	$pages[ $this->id ] = $this->label;

	return $pages;
}