WP_Site_Health::show_site_health_tab() WordPress Method

The WP_Site_Health::show_site_health_tab() method is used to display the Site Health tab on the WordPress admin dashboard. This tab provides an overview of the health of your WordPress site, including information on the version of WordPress you are running, the number of active plugins and themes, and the current state of your database.

WP_Site_Health::show_site_health_tab( string $tab ) #

Output the content of a tab in the Site Health screen.


Parameters

$tab

(string)(Required)Slug of the current tab being displayed.


Top ↑

Source

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

	public function show_site_health_tab( $tab ) {
		if ( 'debug' === $tab ) {
			require_once ABSPATH . '/wp-admin/site-health-info.php';
		}
	}

Top ↑

Changelog

Changelog
VersionDescription
5.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.