get_theme_option

Option-related functions

Summary

get_theme_option(string $optionName, string $themeName)

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

Project Versions

Table Of Contents

Previous topic

get_option

Next topic

set_option

This Page