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

  • Resolved allisontavora



    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.

    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 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.