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.
1115*1116* @since 3.9.01117*1118* @param mixed$value The newvalue of the theme modification.1119* @param mixed$old_value The current value of the theme modification.1120*/1121$mods[$name]=apply_filters("pre_set_theme_mod_{$name}",$value,$old_value);11221123$theme=get_option('stylesheet');11241125returnupdate_option("theme_mods_$theme",$mods);1126}1127
History
Introduced in 3.9.0. Unchanged from 6.7.7 through 7.1.0.