wp site option pluck <key> <key-path>

Gets a nested value from an option

Arguments

NameDescription
keyThe option name
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