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

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.

Read More

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

Related posts