wpseek.com
A WordPress-centric search engine for devs and theme authors
pre_set_theme_mod_{$name} › WordPress Filter Hooks
Since3.9.0
Deprecatedn/a
› apply_filters( "pre_set_theme_mod_{$name}", $value, $old_value )
| Parameters: (2) |
|
| Defined at: |
|
| Codex: |
Filters the theme modification, or 'theme_mod', value on save.
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.Related Functions: set_theme_mod, get_theme_mod, remove_theme_mod, get_theme_mods, remove_theme_mods, preview_theme_ob_filter