Filters the extra tabs for the Site Health navigation bar. Add a custom page to the Site Health screen, based on a tab slug and label. The label you provide will also be used as part of the site title.
$tabs
Sortie :
@param string[] $tabs An associative array of tab labels keyed by their slug.
// Modifier la valeur avec le filtre 'site_health_navigation_tabs'
add_filter('site_health_navigation_tabs', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($tabs) {
// Modifier la valeur
return $tabs;
}
Chargement des actualités...