Support » Plugin: WP Job Manager » Email notification to the candidate when a job is submitted

  • Resolved Livingstone


    Hi team WP Job Manager

    Do you have a short code (snippet) to notify a candidate via email after he successfully submits an application. Please share the short code.

Viewing 11 replies - 1 through 11 (of 11 total)
  • function resume_published_send_email($post_id) {
       $post = get_post($post_id);
       $author = get_userdata($post->post_author);
       $message = "
          Hi ".$author->display_name.",
          Your resume, ".$post->post_title." has just been approved at ".get_permalink( $post_id ).". Well done!
       wp_mail($author->user_email, "Your resume is online", $message);
    add_action('publish_resume', 'resume_published_send_email');
    Plugin Contributor Richard Archambault



    The snippet that @nghtmre provided is not relevant to the core WPJM plugin, and in fact, there is no publish_resume hook anywhere in WP Job Manager or its add-ons. So, unless I’m missing something obvious, I don’t think it will work.

    @livingstone are you using our Applications add-on? It sounds like you might be? If so, Please use this form to get support for our paid add-ons:

    We are not allowed to support premium plugins in these forums.

    Otherwise, if you are using the core WPJM plugin only, then all Applications take place either via email or on another site, and not through the plugin. Therefore, there is no way to know when an application was submitted, and thus, no way to send an email on submission.

    Does that answer your question?

    I am sorry,
    I thought it was that

    Plugin Contributor Richard Archambault


    @nghtmre No worries! In fact, I’m actually curious about where this snippet came from. It’s quite possible that I missed the publish_resume hook somewhere, but, I don’t see it! 🙂

    Humm, I found it in the job site job manager
    now my english being very bad, i thought it was a good answer 🙁
    I am a beginner, I wanted to help at my level 🙁 it will be for next time

    Plugin Contributor Richard Archambault


    @nghtmre It turns out that I was wrong! The relevant action is this, actually:

    In any case, that code was still for resumes, and not applications. The code can probably be adapted to work for Applications, but since this is one of our paid add-ons, I can’t go into further detail in this forum. 🙂

    @richardmtl yeah it’s a post status hook, so search/find may not come across it 😛 don’t worry it had me searching for a minute too before i wrote my emails addon too and figured out how the post status hooks worked 😛

    Plugin Contributor Richard Archambault


    I’m marking this thread as Resolved as it’s been more than a month since the last reply. If you still need help, please do reply again and mark the thread as Unresolved!

    @richardmtl I thought you could provide a simple snippet regarding this. Just curious. But why not this functionality being included in the WPJobmanager plugin then?

    Plugin Contributor Richard Archambault


    @livingstone What is it that you’d like, exactly? If it’s a snippet that would work for the Resumes or Applications add-on, I can’t provide that here, you’d have to contact us via our site if you have a valid license:

    Otherwise, the base WPJM plugin comes with 2 application methods, both of which are handled outside of the plugin:

    1) It can send an applicant to a different site / URL where the application can be submitted (for example, one of the larger job sites)

    2) It can provide an email address that the candidate can contact directly to send their application.

    In both cases, it doesn’t really make sense for WPJM itself to handle sending an email to the candidate. But, if you can clarify your use-case, I can see if it’s worth opening a feature request with our developers.

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.