wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



theme_mod_{$name} › Hooks de Filtros WordPress

Desde2.2.0
Obsoleton/a
› apply_filters( "theme_mod_{$name}", $mods[ $name ] )
Parâmetros:
  • () current_mod The value of the active theme modification.
    Required: Yes
Definido em:
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.




Fonte

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