• Resolved noam69901

    (@noam69901)


    add_filter( ‘woocommerce_product_tabs’, ‘wpb_new_product_tab’ );
    function wpb_new_product_tab( $tabs ) {
    // Add the new tab
    $tabs[‘test_tab’] = array(
    ‘title’ => __( ‘Size Chart’, ‘text-domain’ ),
    ‘priority’ => 50,
    ‘callback’ => ‘wpb_new_product_tab_content’
    );
    return $tabs;
    }

    function wpb_new_product_tab_content() {
    // The new tab content
    echo ‘Size Chart’;
    echo ‘[table id=2 responsive=collapse responsive_breakpoint=”phone” /]
    ” /.’;
    }

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘what im wrong ? shortcode not work ?’ is closed to new replies.