Filters the primary feed URL for the 'WordPress Events and News' dashboard widget.
__( 'https://wordpress.org/news/feed/'
Sortie :
@param string $url The widget's primary feed URL.
// Modifier la valeur avec le filtre 'dashboard_primary_feed'
add_filter('dashboard_primary_feed', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(__( 'https://wordpress.org/news/feed/') {
// Modifier la valeur
return __( 'https://wordpress.org/news/feed/';
}
Chargement des actualités...