Skip to content

Instantly share code, notes, and snippets.

@anthonysbrown
Last active October 3, 2016 20:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anthonysbrown/df33d73f422026257c7e4e459af377f2 to your computer and use it in GitHub Desktop.
Save anthonysbrown/df33d73f422026257c7e4e459af377f2 to your computer and use it in GitHub Desktop.
Change any text in Funeralpress
function funeralpress_custom_localize( $translated_text, $untranslated_text, $domain ) {
if($untranslated_text == 'Burial Date'&& $domain = 'sp-wpfh'){
$translated_text = 'Services Date';
}
return $translated_text;
}
add_filter('gettext','funeralpress_custom_localize',20,3);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment