Read post meta
wp_get_post_metaGet the meta of one post: one key (returns id, key, value; a key the post lacks gives an empty value, or the default registered for the key) or all public meta (returns id and meta, a key-to-value map). Public means not starting with "", not credential-like and editable by the account. include_protected=true (requires manage_options) adds the allow-listed protected "" keys (page-builder and layout data such as _elementor_data); one of those keys can also be asked for by name, under the same right. Read-only; needs edit_posts; an unknown post id is a not-found error. The same public meta comes together with the post from wp_get_post. Forwarded by AlphaBridge Connect to the one site this connection reaches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Post id. | |
| key | No | Optional single meta key. Omitted: all public meta. A protected ("_") key is answered only when it is allow-listed (filter ab_mcp_pro_protected_meta_allowlist) and the account has manage_options. | |
| include_protected | No | true also lists the allow-listed protected ("_"-prefixed) keys in the full listing. Requires manage_options. Default false. |