Description
Filters the maximum number of words in a post excerpt.
Occurrences
Filename | Line Number |
---|---|
wp-includes/formatting.php | 4007 |
wp-includes/blocks/latest-posts.php | 156 |
Parameters
Type | Name | Description |
---|---|---|
int | $number | The maximum number of words. Default 55. |
PHP Doc
/**
* Filters the maximum number of words in a post excerpt.
*
* @since 2.7.0
*
* @param int $number The maximum number of words. Default 55.
*/