wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



theme_mod_{$name} › Filtr WordPress Hooks

Od2.2.0
Przestarzałyn/a
› apply_filters( "theme_mod_{$name}", $mods[ $name ] )
Parametry:
  • () current_mod The value of the active theme modification.
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

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