Last active
October 3, 2016 20:24
-
-
Save anthonysbrown/df33d73f422026257c7e4e459af377f2 to your computer and use it in GitHub Desktop.
Change any text in Funeralpress
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
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