Read term meta
wp_get_term_metaRead custom meta of one term: one key, or all public keys. Keys starting with "_", keys WordPress marks as protected and credential-like keys are not available; without a key, keys the account may not edit are left out too. Returns {term_id, key, value} (with several stored values, the first) or {term_id, meta: {key: value}} (a key with several values gives a list). Needs the right to assign terms of the term's taxonomy; one key needs the right to edit the term. An unknown term_id returns a not-found error. Read-only; the term's own fields come from wp_get_term. Forwarded by AlphaBridge Connect to the one site this connection reaches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | One meta key to read. When omitted, all public keys are read. A key the term does not have returns an empty value, or the default a plugin registered for it. | |
| term_id | Yes | Term id, as wp_list_terms returns it; the taxonomy is not needed. |