• stasonn777

    (@stasonn777)


    Hello.
    I have CPT gallery with ACF checkboxes. I need to filter this posts by fields
    My fields are

    "acf": {
      "field1": [
         "value1"
    ],
    "field2": [
         "value2"
    ],
    "field3": [
         "value3"
    ],
    }
    

    I make request http://mysite.com/wp-json/wp/v2/gallery?filter[meta_key]=field1&filter[meta_value]=value1 but its show me empty array []

    What I’am doing wrong?

    • This topic was modified 6 years ago by stasonn777.

The topic ‘Doesn’t work with ACF in CPT’ is closed to new replies.