WordPress at Your Fingertips
function is not described

WP_Site_Health::show_site_health_tab() public WP 5.8.0

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

{} It's a method of the class: WP_Site_Health{}

No Hooks.


null. Nothing.


$WP_Site_Health = new WP_Site_Health();
$WP_Site_Health->show_site_health_tab( $tab );
$tab(string) (required)
Slug of the current tab being displayed.


Since 5.8.0 Introduced.

Code of WP_Site_Health::show_site_health_tab() WP 5.8.2

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