WordPress at Your Fingertips
function is not described

WC_Register_WP_Admin_Settings::register_page_group() public WC 3.0.0

Registers a setting group, based on admin page ID & label as parent group.

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

No Hooks.

Return

Array.

Usage

$WC_Register_WP_Admin_Settings = new WC_Register_WP_Admin_Settings();
$WC_Register_WP_Admin_Settings->register_page_group( $groups );
$groups(array) (required)
Array of previously registered groups.

Changelog

Since 3.0.0 Introduced.

Code of WC_Register_WP_Admin_Settings::register_page_group() WC 5.7.0

public function register_page_group( $groups ) {
	$groups[] = array(
		'id'    => $this->object->get_id(),
		'label' => $this->object->get_label(),
	);
	return $groups;
}