How do you get Posts by multiple meta_keys and meta_values with the Rest API V2?

  • Unknown's avatar

    Im trying to get my Posts by multiple meta_keys and meta_values. How do i accomplish this ? The URL should be looking like this: “/posts?meta_key=Example&meta_value=Example2&meta_key=Example3&meta_value=Example4” I tried to find a solution for this quite a while now, but couldn’t find anything the most things where outdated. I hope someone can help me with this.

  • Hi there!

    What’s the address of the site you’re working on?

    Please note that these forums are for WordPress.com hosted sites only. If your site is using the open-source WordPress.org software, we won’t be able to help you out and you’ll want to seek help at these forums:

    https://wordpress.org/support/forums/

  • The topic ‘How do you get Posts by multiple meta_keys and meta_values with the Rest API V2?’ is closed to new replies.