Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

woo can not change products perpage in shop page

/**
* Change WooCommerce products 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 = 12;
  return $pr_per_page;
}
Source by usersinsights.com #
 
PREVIOUS NEXT
Tagged: #woo #change #products #perpage #shop #page
ADD COMMENT
Topic
Name
3+4 =