The subject is ran through a filter:
$method->subject = apply_filters( 'job_manager_application_email_subject', sprintf( __( 'Job Application via "%s" listing on %s', 'wp-job-manager' ), $post->post_title, home_url() ) );
So you could for example use this in your theme functions.php
add_filter( 'job_manager_application_email_subject', 'custom_job_manager_application_email_subject' );
function custom job_manager_application_email_subject( $subject ) {
global $post;
$subject .= ' - ID: ' . $post->ID;
return $subject;
}
Hi Mike
Thank you for replying to my post.
Just added this to my theme functions.php and it gave me a white screen of death.
Can you please advise
Thank You
Ah, sorry,
function custom job_manager_application_email_subject( $subject ) {
Should have been:
function custom_job_manager_application_email_subject( $subject ) {
Hi Mike
Thank you very much for that it works perfect.
Just one question can I do the same so the Id of the job can be seen in the job list and the backend of the job List
Thanks
Hi Mike
what can i say a big thank you for your help
No problem, glad to help 🙂
p.s. if you like the plugin feel free to leave a review 😉
Hi there,
How do I create this also – where do I go & what do I add ?
Thank you
Hi
Goto your wordpress admin area
Appearance
Editor ( make sure your theme is selected on the top right hand side )
under list on right hand side find Theme Functions (functions.php)
In there plast this
add_filter( ‘job_manager_application_email_subject’, ‘custom_job_manager_application_email_subject’ );
function custom_job_manager_application_email_subject( $subject ) {
global $post;
$subject .= ‘ – ID: ‘ . $post->ID;
return $subject;
}