Filters the theme modification, or 'theme_mod', value on save.
Description
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.
1105*1106* @since 3.9.01107*1108* @param mixed$value The newvalue of the theme modification.1109* @param mixed$old_value The current value of the theme modification.1110*/1111$mods[$name]=apply_filters("pre_set_theme_mod_{$name}",$value,$old_value);11121113$theme=get_option('stylesheet');11141115returnupdate_option("theme_mods_$theme",$mods);1116}1117
History
Introduced in 3.9.0. Unchanged from 6.7.7 through 7.1.0.