Skip to content

Instantly share code, notes, and snippets.

@Kaiderella Kaiderella/functions.php Secret
Created Apr 21, 2020

Embed
What would you like to do?
Loại bỏ tính năng Showing all x results trong theme Storefront
add_action( 'init', 'wpcb_delay_remove_result_count' );
function wpcb_delay_remove_result_count() {
remove_action( 'woocommerce_after_shop_loop', 'woocommerce_result_count', 20 );
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
You can’t perform that action at this time.