Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #602249

    Hi, The autoresponder email includes the contact form details (the user’s name, email, subject, etc.); I’d like the autoresponder to leave that info out. Can you please advise as to how to do that? Thanks.

    #603673

    Hey designyvr!

    Please add following code to Functions.php file in Appearance > Editor

    
    add_filter('avf_form_sendto','avia_change_mail_subject');
    add_filter('avf_form_from','avia_change_mail_subject'); 
    add_filter('avf_form_subject','avia_change_mail_subject', 10, 3);
    function avia_change_mail_subject($subject, $new_post, $form_params, $from, $to){ 
    return false;
    }

    Cheers!
    Yigit

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.