Add Filter after posting a comment

Unknown | 8:47 AM

Add Filter after posting a comment





add_filter("comment_post", "email_project_designer");


function email_project_designer(){
//  Your custom code
   wp_mail( 'abc@example.com' , 'subject','message' );
}

No comments:

Post a Comment

Avinash Kumar Singh © 2013. All Rights Reserved | Powered by-Blogger