Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
How to remove sorting from the WooCommerce Storefront Theme
<?php
add_action('init','delay_remove');
function 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