wp user term <command>

Adds, updates, removes, and lists user terms.

In this article

Examples

# Set user terms
$ wp user term set 123 test category
Success: Set terms.

Subcommands

NameDescription
wp user term add

Add a term to an object.

wp user term list

List all terms associated with an object.

wp user term remove

Remove a term from an object.

wp user term set

Set object terms.

Command documentation is regenerated at every release. To add or update an example, please submit a pull request against the corresponding part of the codebase.