Contact Form multiple send
-
[Contact Form 7]
I’ve used CF7 with extension Contact Form 7 Dynamic Text Extension.I have created CPT ‘shop’. For all shops (cpt post) I want to add a few contact email address (created by cmb2 metabox type group).
Like this:`$additionalEmail = $header->add_field( array(
‘id’ => ’email_group’,
‘type’ => ‘group’,
[…]
),));$header->add_group_field( $additionalEmail, array(
‘id’ => ‘additional_email’,
‘type’ => ‘text_email’,
[…]
));`In the file single-shop.php do cf7 shortcode. How can I dynamiclly assign to the cf7 form add all created emails (in curent cpt post)?
When I have one post email I’ve used shortcode CF7_get_post_var key=’shop_email’ and set shortcode name and use this name in the cf7 send configuration tab.
How can I assing all defined emails and send to the all list?
- The topic ‘Contact Form multiple send’ is closed to new replies.