WP_Site_Health::show_site_health_tab() – Output the content of a tab in the Site Health screen.

You appear to be a bot. Output may be restricted

Description

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

Usage

WP_Site_Health::show_site_health_tab( $tab );

Parameters

$tab
( string ) required – Slug of the current tab being displayed.

Returns

void

Source

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

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

 View on GitHub View on Trac