Created
June 9, 2015 14:46
-
-
Save gasatrya/b5f116ca6c985034dc3b to your computer and use it in GitHub Desktop.
Change the WordPress excerpt more string
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Change the excerpt more string. | |
* | |
* @since 1.0.0 | |
* @param string $more | |
* @return string | |
*/ | |
function prefix_excerpt_more( $more ) { | |
return '…'; | |
} | |
add_filter( 'excerpt_more', 'prefix_excerpt_more' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment