內容簡介
總結:這個 WordPress 外掛擴展了 REST API 的功能,使得可以使用統一的參數命名方案來更新 SEO 元字段,無論是安裝了 Rank Math 還是 Yoast SEO。它註冊了用於文章的自定義 REST 字段,使得可以檢索和更新 meta_title、meta_description 和 focus_keyword 字段。這個外掛動態地將這些統一字段名稱映射到活躍的 SEO 外掛程式的相應的 meta 字段,確保透過 API 調用實現 SEO 元數據的無縫集成和管理。
問題與答案:
1. 這個 WordPress 外掛的主要功能是什麼?
- 這個 WordPress 外掛主要功能是擴展了 REST API 的功能,使得可以使用統一的參數命名方案來更新 SEO 元字段。
2. 這個外掛為文章註冊了哪些自定義 REST 字段?
- 這個外掛為文章註冊了自定義的 REST 字段,包括 meta_title、meta_description 和 focus_keyword 字段。
3. 外掛是如何確保與活躍的 SEO 外掛程式的無縫集成和管理的?
- 外掛通過動態將統一字段名映射到活躍的 SEO 外掛程式的相應的 meta 字段,來確保與活躍的 SEO 外掛程式的無縫集成和管理。
外掛標籤
開發者團隊
原文外掛簡介
CCZGR AI exposes three unified fields — meta_title, meta_description and focus_keyword — on the standard WordPress REST API for posts, pages and every custom post type that supports REST. The values are stored in whichever supported SEO plugin is active, so external tools and automations can read and write SEO metadata without knowing each SEO plugin’s internal meta keys.
Supported SEO plugins:
Rank Math (used when both are active)
Yoast SEO
Only users who can edit a post may change its SEO metadata, and the focus keyword is hidden from users who cannot edit the post.
The plugin also provides an optional administrator-only endpoint to start an UpdraftPlus database backup on demand (only when UpdraftPlus is active) — handy right before a bulk metadata import.
