Automattic\WooCommerce\Admin\Settings

SettingsSectionRegistry::get_instancepublic staticWC 10.9.0

Get the registry instance.

Method of the class: SettingsSectionRegistry{}

No Hooks.

Returns

SettingsSectionRegistry.

Usage

$result = SettingsSectionRegistry::get_instance(): SettingsSectionRegistry;

Changelog

Since 10.9.0 Introduced.

SettingsSectionRegistry::get_instance() code WC 10.9.1

public static function get_instance(): SettingsSectionRegistry {
	if ( null === self::$instance ) {
		self::$instance = new self();
	}

	return self::$instance;
}