Simply Show Hooks for WooCommerce - Brown Surfing

Simply Show Hooks for WooCommerce

Posted on: May 31st, 2022
By: Efrain Lemus

So far, this is the best plugin I’ve found to show WooCommerce hooks without breaking the page:

https://wordpress.org/plugins/simply-show-hooks/

Here’s the snippet I added to change the order of the reviews with the related products:

remove_action(‘woocommerce_after_single_product_summary’,’woocommerce_output_product_data_tabs’,10);
remove_action(‘woocommerce_after_single_product_summary’,’woocommerce_output_related_products’,20);

add_action(‘woocommerce_after_single_product_summary’,’woocommerce_output_product_data_tabs’,20);
add_action(‘woocommerce_after_single_product_summary’,’woocommerce_output_related_products’,10);

Have any questions or comments? Write them below!


Leave a Reply

Your email address will not be published.