Support » Plugin: WP Job Manager » Send email to candidate when resume is approved – Not Function

  • Hello!

    I’ve added a snippet, the “Send email to candidate when sum is approved” with the “Code Snippets” plugin, but it is not working. Emails are not being sent notifying the approval of the resumes. https://wpjobmanager.com/customization-snippets/

    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’);

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Jen H.

    (@jenhooks)

    Hi @allisontavora,

    We’re not able to support our paid Resume Manager addon in this forum. Please use the form I’ve linked below to contact support for our paid add-ons:

    https://wpjobmanager.com/support/

    Make sure to contact us from the email address you used when you purchased your license(s), so we’re able to find your account.

    Cheers!

    Hello @jenhooks,

    I did not understand what you should say with “paid Resume Manager addon”. I have not bought any supplements yet. I have the WP Job Manager plugin. I just added these codes with the “Code Snippets” plugin, as you explain in the tutorial of your site.

    Have you crated any custom post type resume?

    https://codex.wordpress.org/Plugin_API/Action_Reference/publish_post

    Please change it & try.
    add_action(‘publish_resume’, ‘resume_published_send_email’, 10, 1 );

    If needed you can change 10 to 99 & try. Put code in theme function file.

    Hello @kishores,

    Thanks!
    I will try this here.

    Hugs.

    allisontavora

    (@allisontavora)

    @kishores,
    Unfortunately it did not work too. 🙁

    Plugin Contributor Jen H.

    (@jenhooks)

    Hi @allisontavora,

    I have not bought any supplements yet. I have the WP Job Manager plugin. I just added these codes with the “Code Snippets” plugin, as you explain in the tutorial of your site

    This snippet is to modify the behavior of the Resume Manager addon;

    https://wpjobmanager.com/add-ons/resume-manager/

    Since you were using this snippet, I assumed you’d purchased the addon. It will not do anything unless you’re also running the Resume Manager addon on your site.

    Please let us know if you have any other questions.

    allisontavora

    (@allisontavora)

    Ok @jenhooks,
    I think this was not clear to me when reading the information on the plugin site. Now I understand.

    Thank you!

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