Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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