Skip to content

Instantly share code, notes, and snippets.

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 advokatb/ce6c71fcbe1e857dfd72 to your computer and use it in GitHub Desktop.
Save advokatb/ce6c71fcbe1e857dfd72 to your computer and use it in GitHub Desktop.
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