.. _fgetthemeoption: ############################################ ``get_theme_option`` — Get a theme option. ############################################ :doc:`Option-related functions ` ******* Summary ******* .. include:: /Reference/libraries/globals/summary/get_theme_option.rst .. php:function:: get_theme_option($optionName, $themeName = null) Get a theme option. :type $optionName: string :param $optionName: The option name. :type $themeName: string :param $themeName: The theme name. If null, it will use the current public theme. :returns: string The option value. ***** Usage ***** .. include:: /Reference/libraries/globals/usage/get_theme_option.rst ******** Examples ******** .. include:: /Reference/libraries/globals/examples/get_theme_option.rst ******** See Also ******** .. include:: /Reference/libraries/globals/see_also/get_theme_option.rst