wp post meta pluck <id> <key> <key-path>
Get a nested value from a meta field
Arguments
Name | Description |
---|---|
id | The ID of the object |
key | The name of the meta field to get |
key-path | The name(s) of the keys within the value to locate the value to pluck |
Options
Name | Description |
---|---|
--format <format> | The output format of the value |