.. _fgetoption: ######################################################## ``get_option`` — Get an option from the options table. ######################################################## :doc:`Option-related functions ` ******* Summary ******* .. include:: /Reference/libraries/globals/summary/get_option.rst .. php:function:: get_option($name) Get an option from the options table. If the returned value represents an object or array, it must be unserialized by the caller before use. For example: $object = unserialize(get_option('plugin_object')); :type $name: string :param $name: The option name. :returns: string The option value. ***** Usage ***** .. include:: /Reference/libraries/globals/usage/get_option.rst ******** Examples ******** .. include:: /Reference/libraries/globals/examples/get_option.rst ******** See Also ******** .. include:: /Reference/libraries/globals/see_also/get_option.rst