Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Filtering Nested ACF keys

$
0
0

Replies: 0

Is it possible to filter nested acf keys? I can’t seem to find any docs on if this is possible.

Example:
I have a structure like below and want to filter by a nested ACF key named “lat” under “acf”=>”northeast”=>”lat”. Possible? Example?

[
  {
   "acf": {
      "northeast": {
        "address": "Garven",
        "lat": "23.000",
        "lng": "-96.2345",
        "zoom": "",
        "center_lat": "",
        "center_lng": ""
      },
      "southwest": {
        "address": "Unnamed Road",
        "lat": "34.003033",
        "lng": "-121.0222",
        "zoom": "",
        "center_lat": "",
        "center_lng": ""
      }
    },
  }
]

Viewing all articles
Browse latest Browse all 59525

Trending Articles