wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



theme_mod_{$name} › Les Filtres WordPress

Depuis2.2.0
Dépréciéen/a
› apply_filters( "theme_mod_{$name}", $mods[ $name ] )
Paramètres:
  • () current_mod The value of the active theme modification.
    Requis: Oui
Défini(e) dans:
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.




Source

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