Skip to content

Commit 15bc244

Browse files
Document support for allowed HTML tags via excerpt_allowed_tags filter
1 parent ee1c9eb commit 15bc244

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/wp-includes/formatting.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3944,8 +3944,9 @@ function human_time_diff( $from, $to = 0 ) {
39443944
*
39453945
* Returns a maximum of 55 words with an ellipsis appended if necessary.
39463946
*
3947-
* The 55-word limit can be modified by plugins/themes using the {@see 'excerpt_length'} filter
3948-
* The ' […]' string can be modified by plugins/themes using the {@see 'excerpt_more'} filter
3947+
* The 55-word limit can be modified by plugins/themes using the {@see 'excerpt_length'} filter.
3948+
* The ' […]' string can be modified by plugins/themes using the {@see 'excerpt_more'} filter.
3949+
* Allowed HTML tags can be specified using the {@see 'excerpt_allowed_tags'} filter.
39493950
*
39503951
* @since 1.5.0
39513952
* @since 5.2.0 Added the `$post` parameter.

0 commit comments

Comments
 (0)