How to get YOAST SEO plugin data using WP REST API plugin? Special content wpseo_head hook

I use the WP REST API to retrieve all message data. Well, this works fine, but the main issue for any site is part of SEO. I am using the YOAST SEO plugin. I want to get all the meta tags that it creates in the "Title" section of the HTML.

FYI im using Wordpress as backend and node in interface.


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

+4
source share

All Articles