wp post term <command>

Adds, updates, removes, and lists post terms.


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

Top ↑


Name Description
wp post term add

Add a term to an object.

wp post term list

List all terms associated with an object.

wp post term remove

Remove a term from an object.

wp post 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.