Filters the maximum number of words used in the comment excerpt.
$comment_id = 0
Sortie :
@param int $comment_excerpt_length The amount of words you want to display in the comment excerpt. @param string $comment_excerpt The comment excerpt text. @param string $comment_id The comment ID as a numeric string. @param WP_Comment $comment The comment object. @param int|WP_Comment $comment_id Optional. WP_Comment or ID of the comment for which to print the excerpt.
// Utilisation de la fonction comment_excerpt
$result = comment_excerpt($comment_id = 0);
if ($result) {
// Votre logique ici
}
Chargement des actualités...