Last active
August 29, 2015 14:13
-
-
Save mikejolley/c0f7637800cf6bf5e45c to your computer and use it in GitHub Desktop.
Applications - Change "CV" to "Resume"
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
<?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