wp option pluck <key> <key-path>
Gets a nested value from an option
Arguments
Name | Description |
---|---|
key | The option name |
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 for the value |