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.
1118*1119* @since 3.9.01120*1121* @param mixed$value The newvalue of the theme modification.1122* @param mixed$old_value The current value of the theme modification.1123*/1124$mods[$name]=apply_filters("pre_set_theme_mod_{$name}",$value,$old_value);11251126$theme=get_option('stylesheet');11271128returnupdate_option("theme_mods_$theme",$mods);1129}1130
History
Introduced in 3.9.0. Unchanged from 6.7.7 through 7.1.0.