Home / Archive / WooCommerce number of archive products per page
Duplicate Snippet

Embed Snippet on Your Site

WooCommerce number of archive products per page

Change WooCommerce Archive products number per page code snippet.

Tahbit Al Bashar
<10
Code Preview
php
<?php
/*  Change WooCommerce Archive products number per page */
 
add_filter( 'loop_shop_per_page', 'my_new_products_per_page', 9999 );
 
function my_new_products_per_page( $pr_per_page ) {
  $pr_per_page = 16;
  return $pr_per_page;
}

Comments

Add a Comment