WordPress.org

Forums

JSON API
How to make JSON API get posts with especifics advanced custom fields values (1 post)

  1. fsagaz
    Member
    Posted 11 months ago #

    Hi!
    I need to retrieve all post with some values in acf fields…my query is kind of this:

    API/get_posts/?post_type=myscustom_post&meta_key=datestart&meta_value=20140615&meta_key=competitors&meta_value=european

    The problem is that the response only takes effect with the last condition regarding the acf fields on the query…how do you make a meta_query in this case?

    Thanks!

    https://wordpress.org/plugins/json-api/

Reply

You must log in to post.

About this Plugin

  • JSON API
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic