WP_Site_Health::get_instance

Advertisement

Summery Summery

Return an instance of the WP_Site_Health class, or create one if none exist yet.

Syntax Syntax

WP_Site_Health::get_instance()

Return Return

(WP_Site_Health|null)

Source Source

File: wp-admin/includes/class-wp-site-health.php

	 *
	 * @since 5.4.0
	 *
	 * @return WP_Site_Health|null
	 */
	public static function get_instance() {
		if ( null === self::$instance ) {

Advertisement

Changelog Changelog

Changelog
Version Description
5.4.0 Introduced.

Advertisement

Leave a Reply