Created
April 13, 2015 17:38
-
-
Save cyberhobo/7c7a7bd74fade952f1ba to your computer and use it in GitHub Desktop.
Customize Postmatic text
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 // Cusomtize translated text | |
function qa_customize_text( $custom, $original, $domain ) { | |
if ( 'Postmatic' != $domain ) | |
return $custom; | |
if ( 'Participate in this conversation via e-mail' != $original ) | |
return $custom; | |
return 'Subscribe to comments on this'; | |
} | |
add_filter( 'gettext', 'qa_customize_text', 10, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment