WordPress Categories & Tags
wordpress_termsManage the CATEGORIES and TAGS of a connected WordPress site: list them, create one, rename it, change its slug, set its DESCRIPTION, move it under a parent, or delete it. action: 'list' (default) | 'create' | 'update' | 'delete'.
The description is the only body text a category archive has. Without it the archive is a
bare list of post titles, which is why category pages usually rank for nothing even when
the posts under them do — so a new category is worth two sentences here. For the archive's
SEO title, meta description, focus keyword or noindex use wordpress_set_seo with term_id.On a MULTILINGUAL site every language has its OWN term — the Turkish "Apostil ve Tasdik" and its English counterpart are two different terms with two different ids — so each row carries a language field and all languages are listed together; pass lang to narrow to one. list also reports each term's post count, its live archive URL and its current SEO fields,
so you can see in one call which categories are empty or unoptimised. On create and update lang
does more than filter: it SETS the term's language, which is what puts an English category
on the /en/ archive base instead of the site's default language. Setting the language needs
Opus Growth Connector 0.7.9 on the site; on an older one the call is REFUSED before anything
is written, because there lang is silently ignored and the term lands in the site's default
language with the wrong archive URL. Creating a term that
already exists returns the existing one instead of failing. Changing a slug CHANGES the
archive URL and the reply says so explicitly, because the old address then returns 404 and
needs a redirect. Deleting a term never deletes posts — it only removes the link, and the
reply tells you how many posts were affected. delete needs confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ||
| name | No | ||
| slug | No | ||
| action | No | list | |
| parent | No | ||
| search | No | ||
| confirm | No | ||
| term_id | No | ||
| site_url | No | ||
| taxonomy | No | category | |
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||