get_theme_mod
get_theme_mod ( $name, $default_value = false )
Parameters:- (string) name Theme modification name.
- (mixed) default_value Optional. Theme modification default value. Default false.
Returns:- (mixed) Theme modification value.
Defined at: - Introduced in WordPress: 2.1.0
- Deprecated in WordPress: —
Description
Retrieves theme modification value for the active theme.If the modification name does not exist and `$default_value` is a string, then the
default will be passed through the {@link sprintf()}
PHP function with the template directory URI as the first value and the
stylesheet directory URI as the second value.