Is it possible to get WP_Query ‘meta_query’ functionality when hitting the WP API via Javascript?

[ad_1]

Using an instance of the WP_Query class and adjusting the ‘meta_query’ value, we’re able to have a lot of control over what data gets returned (e. g. sorting and filtering via custom field values). Is there a way to get this same functionality without access to the WP_Query class? Like when hitting the API from a React front-end?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer