do_action( ‘site_health_tab_content’, string $tab )

In this article

Fires when outputting the 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

$tabstring
The slug of the tab that was requested.

Source

do_action( 'site_health_tab_content', $_GET['tab'] );

Changelog

VersionDescription
5.8.0Introduced.

User Contributed Notes

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