Title: wp_embed_excerpt_more
Published: December 9, 2015
Last modified: February 24, 2026

---

# wp_embed_excerpt_more( string $more_string ): string

## In this article

 * [Description](https://developer.wordpress.org/reference/functions/wp_embed_excerpt_more/?output_format=md#description)
 * [Parameters](https://developer.wordpress.org/reference/functions/wp_embed_excerpt_more/?output_format=md#parameters)
 * [Return](https://developer.wordpress.org/reference/functions/wp_embed_excerpt_more/?output_format=md#return)
 * [Source](https://developer.wordpress.org/reference/functions/wp_embed_excerpt_more/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/functions/wp_embed_excerpt_more/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/wp_embed_excerpt_more/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/functions/wp_embed_excerpt_more/?output_format=md#wp--skip-link--target)

Filters the string in the ‘more’ link displayed after a trimmed excerpt.

## 󠀁[Description](https://developer.wordpress.org/reference/functions/wp_embed_excerpt_more/?output_format=md#description)󠁿

Replaces ‘[…]’ (appended to automatically generated excerpts) with an ellipsis and
a “Continue reading” link in the embed template.

## 󠀁[Parameters](https://developer.wordpress.org/reference/functions/wp_embed_excerpt_more/?output_format=md#parameters)󠁿

 `$more_string`stringrequired

Default `'more'` string.

## 󠀁[Return](https://developer.wordpress.org/reference/functions/wp_embed_excerpt_more/?output_format=md#return)󠁿

 string ‘Continue reading’ link prepended with an ellipsis.

## 󠀁[Source](https://developer.wordpress.org/reference/functions/wp_embed_excerpt_more/?output_format=md#source)󠁿

    ```php
    function wp_embed_excerpt_more( $more_string ) {
    	if ( ! is_embed() ) {
    		return $more_string;
    	}

    	$link = sprintf(
    		'<a href="%1$s" class="wp-embed-more" target="_top">%2$s</a>',
    		esc_url( get_permalink() ),
    		/* translators: %s: Post title. */
    		sprintf( __( 'Continue reading %s' ), '<span class="screen-reader-text">' . get_the_title() . '</span>' )
    	);
    	return ' &hellip; ' . $link;
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/embed.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-includes/embed.php#L1007)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/embed.php#L1007-L1019)

## 󠀁[Related](https://developer.wordpress.org/reference/functions/wp_embed_excerpt_more/?output_format=md#related)󠁿

| Uses | Description | 
| [is_embed()](https://developer.wordpress.org/reference/functions/is_embed/)`wp-includes/query.php` |

Is the query for an embedded post?

  | 
| [get_the_title()](https://developer.wordpress.org/reference/functions/get_the_title/)`wp-includes/post-template.php` |

Retrieves the post title.

  | 
| [__()](https://developer.wordpress.org/reference/functions/__/)`wp-includes/l10n.php` |

Retrieves the translation of $text.

  | 
| [esc_url()](https://developer.wordpress.org/reference/functions/esc_url/)`wp-includes/formatting.php` |

Checks and cleans a URL.

  | 
| [get_permalink()](https://developer.wordpress.org/reference/functions/get_permalink/)`wp-includes/link-template.php` |

Retrieves the full permalink for the current post or post ID.

  |

[Show 3 more](https://developer.wordpress.org/reference/functions/wp_embed_excerpt_more/?output_format=md#)
[Show less](https://developer.wordpress.org/reference/functions/wp_embed_excerpt_more/?output_format=md#)

## 󠀁[Changelog](https://developer.wordpress.org/reference/functions/wp_embed_excerpt_more/?output_format=md#changelog)󠁿

| Version | Description | 
| [4.4.0](https://developer.wordpress.org/reference/since/4.4.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fwp_embed_excerpt_more%2F)
before being able to contribute a note or feedback.