Answer the question
In order to leave comments, you need to log in
Why did Wordpress cut out the form tag when inserting a shortcode?
add_action( 'woocommerce_single_variation', 'product_mail', 11 );
function product_mail(){
echo "<div class='mail-form-wrap'>".do_shortcode("[mailpoet_form id='1']")."</div>";
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question