excerpt_more filter-hook . WP 2.9.0
Filters the string in the "more" link displayed after a trimmed excerpt.
Usage
add_filter( 'excerpt_more', 'filter_function_name_6858' ); function filter_function_name_6858( $more_string ){ // filter... return $more_string; }
- $more_string(string)
- The string shown within the more link.
Changelog
Since 2.9.0 | Introduced. |
Where the hook is called
wp-includes/formatting.php 3844
$excerpt_more = apply_filters( 'excerpt_more', ' ' . '[…]' );
Where in WP core the hook is used WordPress
wp-includes/formatting.php 594
add_filter( 'excerpt_more', 'wp_embed_excerpt_more', 20 );