Add Filter after posting a comment

Avinash singh | 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' );
}

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