:doc:`Option-related functions </Reference/packages/Function/Db/Option/index>`
.. php:function:: set_option($name, $value) Set an option to the options table. Note that objects and arrays must be serialized before being saved. :type $name: string :param $name: The option name. :type $value: string :param $value: The option value.