Skip to content

Instantly share code, notes, and snippets.

@mikejolley
Created May 24, 2014 11:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mikejolley/b2fa3d912ed9f7b114ee to your computer and use it in GitHub Desktop.
Save mikejolley/b2fa3d912ed9f7b114ee to your computer and use it in GitHub Desktop.
Change the job application email link subject using a filter
add_filter( 'job_manager_application_email_subject', 'custom_job_manager_application_email_subject', 10, 2 );
// This is your hooked in function. Note: the $post variable is only available after v1.11.2
function custom_job_manager_application_email_subject( $subject, $post ) {
// By default, $subject will contain: Job Application via "X" listing on X. Change that below
$subject = 'New subject';
// Return the new subject
return $subject;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment