apply_filters( 'excerpt_length', ... )

Filters the maximum number of words in a post excerpt.

Parameters:
  • $number int