Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



theme_mod_{$name} ›

Seit2.2.0
Veraltetn/v
apply_filters( "theme_mod_{$name}", $mods[ $name ] )
Parameter:
  • (string) $current_mod The value of the current theme modification.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the theme modification, or 'theme_mod', value.

The dynamic portion of the hook name, $name, refers to the key name of the modification array. For example, 'header_textcolor', 'header_image', and so on depending on the theme options.





Quellcode

return apply_filters( "theme_mod_{$name}", $mods[ $name ] );