• Resolved oguruma

    (@oguruma)


    Is it possible to use the Geodirectory/WP APIs to pull out post meta, and filter by meta?

    For example, if I wanted to use the API to find posts in a specific city, or posts with a certain rating?

Viewing 1 replies (of 1 total)
  • Plugin Author Stiofan

    (@stiofansisland)

    Hi @oguruma,

    Our API by default filters by some standard meta fields but not all, I think the closest you can get is: /wp-json/geodir/v2/places/?city=Philadelphia&orderby=overall_rating_desc

    Thanks,

    Stiofan

Viewing 1 replies (of 1 total)

The topic ‘Pulling out/filtering post meta via API?’ is closed to new replies.