-
-
Save hirejordansmith/a3537b330302c6ecda07 to your computer and use it in GitHub Desktop.
WooCommerce Snippets
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
<?php | |
// Remove the sorting dropdown from Woocommerce | |
remove_action( 'woocommerce_before_shop_loop' , 'woocommerce_catalog_ordering', 30 ); | |
// Remove the result count from WooCommerce | |
remove_action( 'woocommerce_before_shop_loop' , 'woocommerce_result_count', 20 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment