Yoast Metadata API

The Yoast Metadata API provides a PHP interface to add, alter, or remove metadata in the of a WordPress document. Developers can hook into Yoast's meta tag output pipeline to customize titles, descriptions, robots directives, Open Graph tags, and other head elements programmatically.

API entry from apis.yml

apis.yml Raw ↑
aid: yoast:yoast-metadata-api
name: Yoast Metadata API
description: The Yoast Metadata API provides a PHP interface to add, alter, or remove metadata in the
  <head> of a WordPress document. Developers can hook into Yoast's meta tag output pipeline to customize
  titles, descriptions, robots directives, Open Graph tags, and other head elements programmatically.
humanURL: https://developer.yoast.com/customization/apis/metadata-api/
baseURL: https://{your-site}
tags:
- SEO
- PHP API
- Metadata
- WordPress
properties:
- type: Documentation
  url: https://developer.yoast.com/customization/apis/metadata-api/