wp_seo_get_meta
Fetch a post's current SEO meta—title, description, OG, Twitter, canonical, robots, JSON-LD, focus keyword—from the active provider. Detect the provider first to know which plugin is active.
Instructions
Read the current SEO meta for a post (title, description, OG, Twitter, canonical, robots, JSON-LD, focus_keyword). The meta is read from whichever SEO provider is active — call wp_seo_detect_provider first to know which one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes |