how i can create shortcode inside
-
its not work in my web why ?
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" /] " /.'; }
- This topic was modified 3 years, 9 months ago by .
- This topic was modified 3 years, 9 months ago by . Reason: please use CODE button for code formatting
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 ‘how i can create shortcode inside’ is closed to new replies.