Created
August 9, 2017 01:40
-
-
Save jfarsen/69b253725302cd3eb11508fb99e95747 to your computer and use it in GitHub Desktop.
Increase the number of products displayed in WooCommerce
This file contains hidden or 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 | |
/* Display 250 products per page. Goes in functions.php */ | |
add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 250;' ), 20 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment