Quellcode durchsuchen

:fire: commenting out pagination meta response

tags/0.9.0
J vor 4 Jahren
Ursprung
Commit
e58e4f7518
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2
    2
      plugins/cia-endpoints/includes/class.make-endpoint.php

+ 2
- 2
plugins/cia-endpoints/includes/class.make-endpoint.php Datei anzeigen

@@ -132,8 +132,8 @@ class Make_Endpoint_For extends WP_REST_Controller {
132 132
             array_push($collection, $formatted);
133 133
         }
134 134
         wp_reset_postdata();
135
-        
136
-        $collection['_meta'] = $args;
135
+        // Uncomment to include pagination and query information
136
+        // $collection['_meta'] = $args;
137 137
         return $collection;
138 138
     }
139 139
 }

Laden…
Abbrechen
Speichern