wp term meta

EXAMPLES EXAMPLES

# Set term meta
$ wp term meta set 123 bio "Mary is a WordPress developer."
Success: Updated custom field 'bio'.

# Get term meta
$ wp term meta get 123 bio
Mary is a WordPress developer.

# Update term meta
$ wp term meta update 123 bio "Mary is an awesome WordPress developer."
Success: Updated custom field 'bio'.

# Delete term meta
$ wp term meta delete 123 bio
Success: Deleted custom field.

Top ↑

SUBCOMMANDS SUBCOMMANDS

Name Description
wp term meta add

Add a meta field.

wp term meta delete

Delete a meta field.

wp term meta get

Get meta field value.

wp term meta list

List all metadata associated with an object.

wp term meta patch

Update a nested value for a meta field.

wp term meta pluck

Get a nested value from a meta field.

wp term meta update

Update a meta field.

Scroll to Top
%d bloggers like this: