WP_Site_Health::get_instance() – Return an instance of the WP_Site_Health class, or create one if none exist yet.
You appear to be a bot. Output may be restricted
Description
Returns an instance of the WP_Site_Health class, or create one if none exist yet.
Usage
$WP_Site_Health|null = WP_Site_Health::get_instance();
Parameters
Returns
WP_Site_Health|null
Source
File name: wordpress/wp-admin/includes/class-wp-site-health.php
Lines:
1 to 7 of 7
public static function get_instance() { if ( null === self::$instance ) { self::$instance = new WP_Site_Health(); } return self::$instance; }