wp option update <key> <value>
Updates an option value
Arguments
Name | Description |
---|---|
key | The name of the option to update |
value | The new value. If omitted, the value is read from STDIN |
Options
Name | Description |
---|---|
--autoload <autoload> | Requires WP 4.2. Should this option be automatically loaded |
--format <format> | The serialization format for the value |