How to fetch YOAST SEO plugin data using WP REST API plugin ? Specially the wpseo_head hook content
Asked Answered
D

0

6

I'm using WP REST API to fetch all the post data. Well, it works perfectly, but the major concern for any website is the SEO part. I'm using YOAST SEO plugin. I want to fetch all the Meta tags it creates in the Head section of HTML.

FYI im using Wordpress as Backend and Nodejs in frontend.


The solution is simple. I have added custom endpoints in the function.php file. You can see this Adding Custom Endpoints

Demodulate answered 18/5, 2016 at 5:28 Comment(2)
Solution is simple.Demodulate
What was the custom endpoint that you wrote?Mordy

© 2022 - 2024 — McMap. All rights reserved.