Created
May 24, 2014 11:35
-
-
Save mikejolley/b2fa3d912ed9f7b114ee to your computer and use it in GitHub Desktop.
Change the job application email link subject using a filter
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
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