Created
September 19, 2024 13:33
-
-
Save jmabbas/386862b1f8517465262262427e1d7bbc to your computer and use it in GitHub Desktop.
Teachmarket - Default WooCommerce related product.
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
add_action( 'init', 'tm_child_place_rel_products_above_wc_tabs', 30 ); | |
function tm_child_place_rel_products_above_wc_tabs() { | |
remove_action( 'woocommerce_after_single_product_summary', 'techmarket_related_display', 15 ); | |
add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 15 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment