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

Updates a site option

Arguments

NameDescription
keyThe name of the site option to update
key-pathThe new value. If omitted, the value is read from STDIN

Options

NameDescription
--format <format>The serialization format for the value