Last active
March 23, 2019 15:41
-
-
Save techskilled/cf1809b71f8701a6599df9e52dcd50e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @snippet WooCommerce Single Page - Move Tabs below the add to cart button | |
* @code https://techskilled.co.uk/snippets/single-page-move-tabs-below-the-add-to-cart-button | |
* @author https://techskilled.co.uk | |
*/ | |
function techskilled_move_tabs(){ | |
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 ); | |
add_action( 'woocommerce_single_product_summary', 'woocommerce_output_product_data_tabs', 70 ); | |
} | |
add_action('wp', 'techskilled_move_tabs'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment