W3cubDocs

/WordPress

apply_filters( ‘excerpt_more’, string $more_string )

Filters the string in the “more” link displayed after a trimmed excerpt.

Parameters

$more_stringstring
The string shown within the more link.

More Information

This filter is called by the wp_trim_excerpt() function. By default, the filter is set to echo ‘[…]’ as the excerpt more string at the end of the excerpt.

Source

$excerpt_more = apply_filters( 'excerpt_more', ' ' . '[…]' );

Changelog

Version Description
2.9.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/excerpt_more