WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/remove theme mod

Description

Remove theme modification name from current theme list.

If removing the name also removes all elements, then the entire option will be removed.

Usage

<?php remove_theme_mod$name ?>

Parameters

$name
(string) (required) Theme modification name.
Default: None

Return Values

(null) 

Examples

Notes

Change Log

Since: 2.1.0

Source File

remove_theme_mod() is located in wp-includes/theme.php.

Related

set_theme_mod(), get_theme_mod(), get_theme_mods(), remove_theme_mod(), remove_theme_mods()

See also index of Function Reference and index of Template Tags.