Created
March 14, 2018 15:58
-
-
Save JiveDig/9309d43382c213a1e5e49e283de1f176 to your computer and use it in GitHub Desktop.
Filter the Read More text in Mai Theme.
This file contains hidden or 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 | |
// Replace the default "Read More" text in Mai Theme. | |
add_filter( 'mai_more_link_text', function( $text, $object_or_id, $type ) { | |
$text = 'Click Here'; | |
return $text; | |
}, 10, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment