Set term meta
wp_update_term_metaCreate or overwrite one meta value of a term (category, tag or any taxonomy); all stored values of the key are replaced. Keys starting with "_" and credential-like keys are refused. Needs manage_categories and the right to edit this term's meta. WordPress strips backslashes from the value. Returns updated, term_id and key; an unknown term is a not-found error. No undo point is recorded; the term's name, slug and description change with wp_update_term. Forwarded by AlphaBridge Connect to the one site this connection reaches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Meta key; stored lower-cased with characters other than a-z, 0-9, "_" and "-" removed (sanitize_key). | |
| value | No | Scalar or array of scalars (arrays may nest); an array is stored serialized. Omitted: an empty string. | |
| term_id | Yes | Term id, as wp_list_terms returns it. |