/**
* Retrieve the excerpt of the current comment.
*
* Will cut each word and only output the first 20 words with ‘…’ at the end.
* If the word count is less than 20, then no truncating is done and no ‘…’
* will appear.
*
* @since 1.5.0
* @uses $comment
* @uses apply_filters() Calls ‘get_comment_excerpt’ on truncated comment
*
* @return string The maybe truncated comment with 20 words or less
*/
function get_comment_excerpt() {
global $comment;
$comment_text = strip_tags($comment->comment_content);
$blah = explode(‘ ‘, $comment_text);
if (count($blah) > 35) {
$k = 35;
$use_dotdotdot = 1;
} else {
$k = count($blah);
$use_dotdotdot = 0;
}
$excerpt = ”;
for ($i=0; $i<$k; $i++) {
$excerpt .= $blah[$i] . ‘ ‘;
}
$excerpt .= ($use_dotdotdot) ? ‘‘ : ”;
return apply_filters(‘get_comment_excerpt’, $excerpt);
}

Seja avisado quando houver novos artigos relevantes por aqui para melhorar a sua eficiência, na sua caixa de e-mail. Basta inserir seus dados abaixo :)