wp option update <key> <value>

Updates an option value

Arguments

NameDescription
keyThe name of the option to update
valueThe new value. If omitted, the value is read from STDIN

Options

NameDescription
--autoload <autoload>Requires WP 4.2. Should this option be automatically loaded
--format <format>The serialization format for the value