vendredi 6 février 2015

how to send email notification to subscribers if a post's status change from draft to publish


I want to send a custom email notification to all the subscribers/customers if a post status change from 'draft' to 'publish'. basically my post is a woocomerce product and bydefault i have set it to draft when it adds. and later i am publishing it. on which file i can insert the email send code?





Aucun commentaire:

Enregistrer un commentaire