Skip to content

Instantly share code, notes, and snippets.

@cyberhobo
Created April 13, 2015 17:38
Show Gist options
  • Save cyberhobo/7c7a7bd74fade952f1ba to your computer and use it in GitHub Desktop.
Save cyberhobo/7c7a7bd74fade952f1ba to your computer and use it in GitHub Desktop.
Customize Postmatic text
<?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