skip to Main Content

Add custom tag contact form 7 in email – Woocommerce

this is my code, in mail body display: [optional], but not output (in frontend work ok): Add_action( 'wpcf7_init', 'custom_add_form_tag_clock' ); function custom_add_form_tag_clock() { wpcf7_add_form_tag( 'optional', 'custom_clock_form_tag_handler' ); } function custom_clock_form_tag_handler( $tag ) { global $product; $modello = $product->get_attribute( 'Optional' );…

VIEW QUESTION
Back To Top
Search