dashboard_secondary_title

FILTER wp-admin\includes\dashboard.php (ligne 1597) github
Filters the secondary link title for the 'WordPress Events and News' dashboard widget.

Paramètres

Entrée :
__( 'Other WordPress News'
Sortie :
@param string $title Title attribute for the widget's secondary link.

Utilisation

// Modifier la valeur avec le filtre 'dashboard_secondary_title'
add_filter('dashboard_secondary_title', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre(__( 'Other WordPress News') {
    // Modifier la valeur
    return __( 'Other WordPress News';
}

Actualités

Chargement des actualités...