Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- add_filter( 'loop_shop_per_page', 'new_loop_shop_per_page', 20 );
- function new_loop_shop_per_page( $products ) {
- // Return the number of products you wanna show per page.
- $products = 6;
- return $products;
- }
Add Comment
Please, Sign In to add comment