apply_filters( 'excerpt_more', string $more_string )
Filters the string in the “more” link displayed after a trimmed excerpt.
Parameters Parameters
- $more_string
-
(string) The string shown within the more link.
More Information 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 Source
Changelog Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
How to replace […] by some other string?
In following code, we are replacing […] by just …
You can send any string in return.
How To Add A “Continue Reading” Link To Excerpts
Example migrated from Codex:
To change excerpt more string, add the following code to functions.php file in your theme:
For versions older than 2.9 use: