WP REST API
-
Hi to all, I’m optimized my SPA whitch warked with using wp rest api.
My question: can i(how) selected fields in embedded object?Example of my query:
'/wp-json/wp/v2/posts?per_page=1&page=1&_embed=wp:featuredmedia'
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WP REST API’ is closed to new replies.