Skip to content

Instantly share code, notes, and snippets.

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