From: Laury GvR Date: Wed, 17 May 2017 20:09:45 +0000 (-0400) Subject: Posts_per_page also added to the has-trail-product filter X-Git-Tag: v1.0.0^2~76 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=9cdb7ec586ddf36f752285150ddaa0d6645a3d16;p=WP-Themes%2Fmichigantrailmaps.git Posts_per_page also added to the has-trail-product filter --- diff --git a/functions.php b/functions.php index 3e2958d..14dd004 100644 --- a/functions.php +++ b/functions.php @@ -276,6 +276,7 @@ add_filter('glm-has-trail-product', function($member_id) { array( 'post_status' => 'publish', 'post_type' => 'product', + 'posts_per_page' => -1 // 'meta_query' => array( // array( // 'key' => 'trail_id',