excerpt_more

FILTER wp-includes\formatting.php (ligne 4028) github
Filters the string in the "more" link displayed after a trimmed excerpt.
traduction française
Filtre la chaîne du lien "plus" affiché après un extrait coupé.

Paramètres

Entrée :
' ' . '[…]'
Sortie :
@param string $more_string The string shown within the more link.

Utilisation

Filtrer le texte de continuation de l'extrait

Filtre pour modifier '...'

frontend
add_filter('excerpt_more', 'custom_excerpt_more');
function custom_excerpt_more($more) {
    return ' Read more';
}

Actualités

Chargement des actualités...