Related products no longer to be shown on Download products
authorLaury GvR <laury@gaslightmedia.com>
Mon, 7 Aug 2017 16:33:33 +0000 (12:33 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Mon, 7 Aug 2017 16:33:33 +0000 (12:33 -0400)
functions.php

index ec178a7..e066afd 100644 (file)
@@ -365,13 +365,13 @@ add_filter('member_list_header_search', function(){
     $regions = get_categories_array( apply_filters('glm_getListForSearch', 'region'), 'region');
     $cities = get_categories_array( apply_filters('glm_getListForSearch', 'city'), 'city');
     $counties = get_categories_array( apply_filters('glm_getListForSearch', 'county'), 'county');
-   
+
     uasort($counties, function ($item1, $item2) {
         if ($item1['name'] == $item2['name']) return 0;
         return $item1['name'] < $item2['name'] ? -1 : 1;
     });
 
-    
+
     $parks = get_categories_array( apply_filters('glm_getListForSearch','category', "Parks"), 'category');
     $activities = get_categories_array( apply_filters('glm_getListForSearch','category', "Activities"), 'category');
     $destinations = get_categories_array( apply_filters('glm_getListForSearch','category', "Destinations"), 'category');