Created
February 27, 2019 23:12
-
-
Save tuanbbhero/6bd7e822da082149d6380b3c57c1cd27 to your computer and use it in GitHub Desktop.
Remove Default Sorting in StoreFront WooCommerce Theme
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', 'bbloomer_delay_remove' ); | |
function bbloomer_delay_remove() { | |
remove_action( 'woocommerce_after_shop_loop', 'woocommerce_catalog_ordering', 10 ); | |
remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 10 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment