-
-
Save Kaiderella/749abf5364c5784c5f7061c9b861a1e2 to your computer and use it in GitHub Desktop.
Loại bỏ tính năng Showing all x results trong theme Storefront
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', '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