Last active
August 29, 2015 14:23
-
-
Save javiergbas/783a2897ba11bdd84399 to your computer and use it in GitHub Desktop.
WooCommerce useful snippets for functions.php
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
// Display 30 products per page. Goes in functions.php | |
add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 30;' ), 20 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment