apply_filters( "theme_mod_{$name}", string $current_mod )

Filters the theme modification, or ‘theme_mod’, value.


Description 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 Parameters

$current_mod

(string) The value of the current theme modification.


Top ↑

Source Source

File: wp-includes/theme.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
2.2.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.