We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15bc244 commit 18c0835Copy full SHA for 18c0835
1 file changed
src/wp-includes/formatting.php
@@ -3951,6 +3951,7 @@ function human_time_diff( $from, $to = 0 ) {
3951
* @since 1.5.0
3952
* @since 5.2.0 Added the `$post` parameter.
3953
* @since 6.3.0 Removes footnotes markup from the excerpt content.
3954
+ * @since 7.1.0 Added support for preserving allowed HTML tags via the `excerpt_allowed_tags` filter.
3955
*
3956
* @param string $text Optional. The excerpt. If set to empty, an excerpt is generated.
3957
* @param WP_Post|object|int $post Optional. WP_Post instance or Post ID/object. Default null.
0 commit comments