By: Prem Tiwari | Last Updated:
In this tutorial, I will explain the
WooCommerce change number of products displayed per page with an example. It will help you while modifying the WooCommerce store features.
In WordPress, hooks are the functions which can be applied to an Action to modify the default WordPress features. Copy the below code and used at the end of the functions.php file.
* Display 25 products per page.
add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 25;' ), 20 );
I hope this tutorial helps you, if you have any questions regarding WordPress, then feel free to put your comments in below comment section. Do you like & share this article with your friends, and don’t forget to follow us on Facebook and Twitter to learn cool WordPress tutorials.
Prem Tiwari is the founder of FreeWebMentor.com and also a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies. View all posts by Prem Tiwari