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.
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'; } }
Expand full source code Collapse full source code View on Trac View on GitHub
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |