site_health_navigation_tabs

FILTER wp-admin\site-health.php (ligne 31) github
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.

Paramètres

Entrée :
$tabs
Sortie :
@param string[] $tabs An associative array of tab labels keyed by their slug.

Utilisation

// 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;
}

Actualités

Chargement des actualités...