handbook/commands/comment/meta.md
Alain Schlesser 0641c9615d Update for 1.5.0
2018-01-31 18:42:42 +01:00

25 lines
613 B
Markdown

# wp comment meta
Adds, updates, deletes, and lists comment custom fields.
### EXAMPLES
# Set comment meta
$ wp comment meta set 123 description "Mary is a WordPress developer."
Success: Updated custom field 'description'.
# Get comment meta
$ wp comment meta get 123 description
Mary is a WordPress developer.
# Update comment meta
$ wp comment meta update 123 description "Mary is an awesome WordPress developer."
Success: Updated custom field 'description'.
# Delete comment meta
$ wp comment meta delete 123 description
Success: Deleted custom field.