Skip to content

Instantly share code, notes, and snippets.

@mikejolley
Last active August 29, 2015 14:13
Embed
What would you like to do?
Applications - Change "CV" to "Resume"
<?php
add_filter( 'gettext', 'change_cv_to_resume', 20, 3 );
/**
* Changes 'CV' to "resume" for applications
*/
function change_cv_to_resume( $translated_text, $text, $domain ) {
if ( "wp-job-manager-applications" === $domain ) {
$translated_text = str_replace( 'Upload CV', 'Upload Resume', $translated_text );
}
return $translated_text;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment