Explorar el Código

:fire: commenting out pagination meta response

tags/0.9.0
J hace 4 años
padre
commit
e58e4f7518
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      plugins/cia-endpoints/includes/class.make-endpoint.php

+ 2
- 2
plugins/cia-endpoints/includes/class.make-endpoint.php Ver fichero

@@ -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
 }

Loading…
Cancelar
Guardar