I'm using Contact Form 7 with an ACF field.
In ACF, I created an email field : email
.
In my Contact Form 7, I have a field called destination-email
:
[email* destination-email id:exp-email default:shortcode_attr]
In my template file i have a line :
<?php echo do_shortcode( '[contact-form-7 id="983" title="Formulaire de contact 1" destination-email="[email protected]"]' ); ?>
I need to replace "[email protected]" with the value of the ACF field email
.
How can I do it?