Fires when outputting the 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.
$_GET['tab']
Sortie :
@param string $tab The slug of the tab that was requested.
// Ajouter une fonction au hook action 'site_health_tab_content'
add_action('site_health_tab_content', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($_GET['tab']) {
// Votre code ici
error_log('Hook site_health_tab_content déclenché');
}
Chargement des actualités...