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

    Hello,

    I have read this thread https://kriesi.at/support/topic/email-subject-from-contact-form-subject/ and I manage to modify it a bit to suit my needs which is a composition of different parameters. Here it is :

    add_filter('avf_form_subject','avia_change_mail_subject', 10, 3);
    function avia_change_mail_subject($subject, $new_post, $form_params) {
    $subject = urldecode($new_post['6_1'].'+'.$new_post['5_1'].'+'.$new_post['1_1']);
    return $subject;
    }

    I decided to share it because I guess it can be usefull to others who would want to do the same

    #1249201

    Hey Association,

    Thank you for sharing the snippet. It will surely help a lot of users in the future. Please don’t hesitate to open a new thread in case you need anything else.

    Have a nice day.

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Email Subject made from several Contact Form Parameters’ is closed to new replies.