apply_filters( "pre_set_theme_mod_{$name}", string $value, string $old_value )

Filters the 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.


Parameters

$value

The new value of the theme mod.

$old_value

The current value of the theme mod.


Source

File: wp-includes/theme.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.9.0 Introduced.