add_action( 'woocommerce_product_query', 'change_posts_per_page', 999 ); function change_posts_per_page( $query ) { if( is_admin() ) return; $query->set( 'posts_per_page', 30); }

News