Read or write post meta
wp_post_metaRead, update, or delete WordPress post metadata, including keys hidden from REST APIs by SEO plugins, page builders, and custom fields.
Instructions
Direct access to any post meta key, including keys hidden from REST (SEO plugins, page builders, custom fields). Actions: get (all or one key), set, delete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| value | No | ||
| action | No | get | |
| post_id | Yes | ||
| hide_internal | No | Hide _-prefixed keys on get |