Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Customize woocommerce product data tabs
- function customize_woo_description_tab( $tabs ) {
- $tabs['description']['callback'] = 'woo_description_tab_content'; // Custom description callback
- return $tabs;
- }
- function woo_description_tab_content() {
- echo '<h2>Custom Description</h2>';
- echo '<p>Here\'s a custom description</p>';
- }
- add_filter( 'woocommerce_product_tabs', 'customize_woo_description_tab', 98 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement