Created
January 12, 2013 16:01
-
-
Save jameskoster/4518617 to your computer and use it in GitHub Desktop.
WooCommerce - hide ratings on product loop
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
// Remove the product rating display on product loops | |
remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 5 ); |
Not working anymore again.
This is not working anymore
remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 5 );
In this way, you could now take it off
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_rating', 10 );
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not working anymore
remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 5 );
In this way, you could now take it off
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_rating', 10 );