WordPress at Your Fingertips
action is not described

site_health_tab_content action-hook . WP 5.8.0

Output content of a custom Site Health tab.

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.


add_action( 'site_health_tab_content', 'action_function_name_7083' );
function action_function_name_7083( $tab ){
	// action...
The slug of the tab that was requested.


Since 5.8.0 Introduced.

Where the hook is called

In file: /wp-admin/site-health.php
wp-admin/site-health.php 189
do_action( 'site_health_tab_content', $_GET['tab'] );

Where in WP core the hook is used WordPress

wp-admin/includes/class-wp-site-health.php 54
add_action( 'site_health_tab_content', array( $this, 'show_site_health_tab' ) );