No email sent on post status cron change (to pending)
-
Hello,
I’m using the post expirator (but I replaced the main plugin file with this one, that adds Pending as status option), so I can set a date and make posts change status through cron.
The expiration (change of status to Pending) works perfectly, but no notification is sent from BNFW.
The test notification email sends fine, so it’s most likely that since the
save_post
hook is not used in this case, the notification simply doesnt know the post status has changed.As you can see from the Gist, on line 478, the function cron fires is
wp_update_post
.
Do you think you could hook into that too to detect post status change?
- The topic ‘No email sent on post status cron change (to pending)’ is closed to new replies.