title: Unset() value from PHP Array To Prevent Print Out To Screen
body: <p>I'm a jr developer working on a wordpress plugin that uses an API to retrieve data for the site. Within the API call are latitude and longitude values for the Google maps API on the same page. There is a for loop to print each provided value from the API. I would like to stop this loop from printing the provided latitude and longitude values to the screen while still providing those values to the Google Map. A few solutions come to mind but I'm not certain which is the best solution...
  1.) Unset() the latitude and longitude values at the point of the for loop. Perhaps this will prevent it from applying the values to the Google Map API?</p>
  <p>2.) Within the for loop set an if statement to watch for those two values - but this would be checking for the values every time one of the many fields are looped through, does this solution take away from the performance/speed of the website?</p>
  <p>Thank you in advance</p>