Used By
Used By | Description |
---|---|
wp-includes/theme.php: set_theme_mod() | Updates theme modification value for the current theme. |
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.
(string) The new value of the theme modification.
(string) The current value of the theme modification.
File: wp-includes/theme.php
Version | Description |
---|---|
3.9.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_set_theme_mod_name