From 9cdb7ec586ddf36f752285150ddaa0d6645a3d16 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Wed, 17 May 2017 16:09:45 -0400 Subject: [PATCH] Posts_per_page also added to the has-trail-product filter --- functions.php | 1 + 1 file changed, 1 insertion(+) 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', -- 2.17.1