Add Meta Tags and Schema JSON-LD to the REST API

Add social and SEO meta tags, along with Schema JSON-LD, to the WordPress REST API query results.

A new Free add-on for the WPSSO Core plugin has been released. The WPSSO REST API (aka WPSSO REST) add-on includes a head element in the WordPress REST API query result to provide an html, json, and parts array.

  • The html array includes the HTML formatted meta tags and Schema JSON-LD (aka LD+JSON) scripts, as they appear in the webpage head section.
  • The json array provides Schema JSON-LD (aka LD+JSON) scripts in their decoded format.
  • The parts array offers HTML meta tag attributes (aka “the parts”) as arrays, making it easier to find / use specific meta tag values.

There is no add-on settings page for this plugin — simply install and activate the plugin.