projects
/
WP-Themes
/
michigantrailmaps.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00f56d5
)
Posts_per_page also added to the has-trail-product filter
author
Laury GvR
<laury@gaslightmedia.com>
Wed, 17 May 2017 20:09:45 +0000
(16:09 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Wed, 17 May 2017 20:09:45 +0000
(16:09 -0400)
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
3e2958d
..
14dd004
100644
(file)
--- 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',