site_health_tab_content WordPress Action Hook

The site_health_tab_content hook is used to add content to the Site Health tab in the WordPress admin area. This hook can be used to display information about the health of your site, or to provide tools for troubleshooting and debugging.

do_action( 'site_health_tab_content', string $tab ) #

Output content of a custom Site Health tab.


Description

This action fires right after the Site Health header, and users are still subject to the capability checks for the Site Health page to view any custom tabs and their contents.


Top ↑

Parameters

$tab

(string)The slug of the tab that was requested.


Top ↑

Source

File: wp-admin/site-health.php

View on Trac


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.