Tagged: CONTACT FORM, hidden field
Hello there!
I have a popup contact form on my website solo-interier.kz/catalog-item/kuhonnyj-garnitur-blyume/. It sends user’s name and phone number for further contact. This form will be on each portfolio item. So I want to know from which page it was sent. Is it possible?
Hey!
Try adding this at the very end of your theme / child theme functions.php file:
function change_form_message($message) {
global $post;
$message .= "<br>- This e-mail was sent from ".get_the_title($post->ID);
return $message;
}
add_filter('avf_form_message', 'change_form_message');
Cheers!
Josue
Thank you man!
It works!