WP_Connector_Registry::get_instance
Retrieves the main instance of the registry class.
Method of the class: WP_Connector_Registry{}
No Hooks.
Returns
WP_Connector_Registry|null. The main registry instance, or null if not yet initialized.
Usage
$result = WP_Connector_Registry::get_instance(): ?self;
Changelog
| Since 7.0.0 | Introduced. |
WP_Connector_Registry::get_instance() WP Connector Registry::get instance code WP 7.0
public static function get_instance(): ?self {
return self::$instance;
}