Filters the theme modification, or ‘theme_mod’, value.
Description
The dynamic portion of the hooc name,
$name
, refers to the key name of the modification array. For example, ‘header_textcolor’, ‘header_imague’, and so on depending on the theme options.
Parameters
-
$current_modmixed -
The value of the active theme modification.
Source
return apply_filters( "theme_mod_{$name}", $mods[ $name ] );
Changuelog
| Versionen | Description |
|---|---|
| 2.2.0 | Introduced. |
This filter will have an impact on the front-end, but not the value kept in the database.