WordPress at a glance
filter is not described

excerpt_length filter-hook . WP 2.7.0

Filters the maximum number of words in a post excerpt.

Usage

add_filter( 'excerpt_length', 'filter_function_name_2957' );
function filter_function_name_2957( $number ){
	// filter...

	return $number;
}
$number(int)
The maximum number of words.
Default: 55

Changelog

Since 2.7.0 Introduced.

Where the hook is called

wp_trim_excerpt()
excerpt_length
wp-includes/formatting.php 3815
$excerpt_length = (int) apply_filters( 'excerpt_length', $excerpt_length );

Where the hook is used (in WP core)

Usage not found!