Summery Summery
Filters the string in the ‘more’ link displayed after a trimmed excerpt.
Syntax Syntax
Description Description
Replaces ‘[…]’ (appended to automatically generated excerpts) with an ellipsis and a "Continue reading" link in the embed template.
Parameters Parameters
- $more_string
-
(Required) Default 'more' string.
Return Return
(string) 'Continue reading' link prepended with an ellipsis.
Source Source
File: wp-includes/embed.php
* Filters the string in the 'more' link displayed after a trimmed excerpt.
*
* Replaces '[...]' (appended to automatically generated excerpts) with an
* ellipsis and a "Continue reading" link in the embed template.
*
* @since 4.4.0
*
* @param string $more_string Default 'more' string.
* @return string 'Continue reading' link prepended with an ellipsis.
*/
function wp_embed_excerpt_more( $more_string ) {
if ( ! is_embed() ) {
return $more_string;
Advertisement
Changelog Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |