Function __global->get_theme_option

Definitions

sources/config.php

  • Find the value of the specified theme-overridable configuration option / theme-only option.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$name ID_TEXT required parameter N/A N/A The name of the option
$default ?string Null N/A N/A Default value (null: also is a configuration option, look in that -- OR we have a hard-coded default for it)
$theme ?ID_TEXT Null N/A N/A Theme to load for (null: active theme) (blank: non-existent theme)
$missing_ok boolean False N/A N/A Where to accept a missing option (and return null)

Return

  • The value (null: means either disabled option, or no option found while $missing_ok set)
  • Type: ?SHORT_TEXT
  • Set: N/A
  • Range: N/A