Automattic\WooCommerce\Admin\Settings
SettingsSectionRegistry::get_instance
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() 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;
}