WP_Site_Health::show_site_health_tab( string $tab )

In this article

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

Parameters

$tabstringrequired
Slug of the current tab being displayed.

Source

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

Changelog

VersionDescription
5.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.