get_theme_option — Get a theme option.

Option-related functions

Summary

get_theme_option($optionName, $themeName = null)

Get a theme option.

Parameters:
  • $optionName (string) – The option name.

  • $themeName (string) – The theme name. If null, it will use the current public theme.

Returns:

string The option value.

Usage

Examples

See Also