set_option
— Set an option to the options table.
Summary
- set_option($name, $value)
Set an option to the options table.
Note that objects and arrays must be serialized before being saved.
- Parameters:
$name (
string
) – The option name.$value (
string
) – The option value.