WordPress at a glance
filter is not described

pre_set_theme_mod_(name) filter-hook . WP 3.9.0

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.


add_filter( 'pre_set_theme_mod_(name)', 'filter_function_name_8205', 10, 2 );
function filter_function_name_8205( $value, $old_value ){
	// filter...

	return $value;
The new value of the theme modification.
The current value of the theme modification.


Since 3.9.0 Introduced.

Where the hook is called

wp-includes/theme.php 971
$mods[ $name ] = apply_filters( "pre_set_theme_mod_{$name}", $value, $old_value );

Where the hook is used (in WP core)

Usage not found!