• Resolved henk26

    (@henk26)


    I needed the Questions Tab to have a tab title, otherwise things look a bit weird when used in conjunction with the ‘WooCommerce Expand Tabs’ plugin.

    This snippet of code placed in functions.php does just that:

    
    add_action( 'product_enquiry_before_form', 'product_enquiry_before_form', 10, 2 );
    function product_enquiry_before_form ($product)
    {
        ?>
    	<h2>Questions</h2>
        <?php	
    }
    	

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Tab title’ is closed to new replies.