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.
Parameters
- $tab
(string)The slug of the tab that was requested.
Source
File: wp-admin/site-health.php
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |