WordPress at a glance
filter is not described

comment_excerpt_length filter-hook . WP 4.4.0

Filters the amount of words used in the comment excerpt.


add_filter( 'comment_excerpt_length', 'filter_function_name_5012' );
function filter_function_name_5012( $comment_excerpt_length ){
	// filter...

	return $comment_excerpt_length;
The amount of words you want to display in the comment excerpt.

Where the hook is called

wp-includes/comment-template.php 605
$comment_excerpt_length = apply_filters( 'comment_excerpt_length', 20 );

Where the hook is used (in WP core)

Использование не найдено.