Results 1 to 2 of 2

Thread: Job expired notification email

  1. #1
    Thread Starter
    Junior Member fabo's Avatar
    Join Date
    Dec 2010
    Thanked 1 Time in 1 Post

    Job expired notification email

    Today I realized that the expiration emails are sent twice. I have made some small modifications, so that no notification email is sent before expiring, but only when the post changes its status. So the problem is that the function
    jr_notify_job_owner_email($new_status, $old_status, $post)
    in theme-emails.php is called twice, which is initiated by the action
    add_action('transition_post_status', 'jr_notify_job_owner_email', 10, 3);
    So, what could be the problem? Does WP generates the same event twice when the post expires? I am using JR 1.3.1

    Thanks in advance!

  2. #2
    Veteran barukar's Avatar
    Join Date
    Sep 2010
    Brasil, São Paulo, SP
    Thanked 741 Times in 623 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. New User Email Plugin in 3.02 BUG - Send Notification Email
    By zontor in forum ClassiPress General Discussion
    Replies: 15
    Last Post: December 25th, 2013, 11:23 AM
  2. Add Image to Email Notification?
    By feiradocavalo in forum Help Using ClassiPress
    Replies: 2
    Last Post: December 21st, 2010, 01:09 PM