From: Laury GvR Date: Thu, 1 Aug 2019 16:03:26 +0000 (-0400) Subject: retrieve params through get in POI route X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=d02e81764e53ad2ca9ebb71cd4045784b621576b;p=WP-Plugins%2Fglm-member-db-rest-api.git retrieve params through get in POI route --- diff --git a/setup/routes/pointsOfInterest.php b/setup/routes/pointsOfInterest.php index 1beaa03..0448f54 100644 --- a/setup/routes/pointsOfInterest.php +++ b/setup/routes/pointsOfInterest.php @@ -60,7 +60,7 @@ class GLMA_POI_Rest_Controller 'methods' => WP_REST_Server::READABLE, 'callback' => function( $request ) { - + $this->params = $request->get_params(); $latMin = $this->params['latMin']; $lastLatMin = $this->params['lastLatMin']; $latMax = $this->params['latMax'];