Filters the maximum number of words used in the comment excerpt.
$comment_excerpt_length
Sortie :
@param int $comment_excerpt_length The amount of words you want to display in the comment excerpt.
// Modifier la valeur avec le filtre 'comment_excerpt_length'
add_filter('comment_excerpt_length', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($comment_excerpt_length) {
// Modifier la valeur
return $comment_excerpt_length;
}
Chargement des actualités...