Un motore di ricerca WordPress per sviluppatori e autori di temi



theme_mod_{$name} ›

Da2.2.0
Deprecaton/a
apply_filters( "theme_mod_{$name}", $mods[ $name ] )
Parametri:
  • (string) $current_mod The value of the current theme modification.
    Richiesto:
Definito a:
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.





Sorgenti

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