Core Function
View Source on Trac ↗ set_theme_mod()
set_theme_mod( mixed $name, mixed $value ) Updates theme modification value for the active theme.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $name string | Theme modification name. Required |
| $value mixed | Theme modification value. Required |
Return Value
(bool)
True if the value was updated, false otherwise.
Function Information
Since Version
2.1.0
Source File
wp-includes/theme.php
Advertisement