So, I figured it out. Using hook wpcf7_before_send_mail
you don’t have access to all meta data needed for is_page_template function
to work. So instead, you have to use methods showed here
So, I figured it out. Using hook wpcf7_before_send_mail
you don’t have access to all meta data needed for is_page_template function
to work. So instead, you have to use methods showed here