Tagged: CONTACT FORM, enfold
Hi,
I’ve found a way to set the contact form ‘from’ field email address using the code below. However, I also need to adjust this function to add the ‘reply-to’ field which would take the value from the ’email’ field in the form.
add_filter('avf_form_from', 'avia_change_from', 10, 3);
function avia_change_from($from,$new_post,$params){
$from = ' (Email address hidden if logged out) ';
return $from;
}
I need the form to be sent from a static email address that doesn’t change, however when I hit ‘Reply’ I want to reply directly to the email provided by the visitor.
How could I achieve this?
Hey Andrius,
You need to hire a freelancer to accomplish this because is necessary a complex modification in the code.
Best regards,
John Torvik