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.
If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.