wp user meta pluck <id> <key> <key-path>

Get a nested value from a meta field

Arguments

NameDescription
idThe ID of the object
keyThe name of the meta field to get
key-pathThe name(s) of the keys within the value to locate the value to pluck

Options

NameDescription
--format <format>The output format of the value