Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
theme_mod_{$name}

Important warning about variable hooks

Some hooks have variables in their names. For example, pre_${taxonomy}_$field and admin_head- both have variable names. In general, any hook that ends (or begins) with - or _, or contains a $, has a variable name. Since the syntax with which these variables are defined may change from version to version, this page may think that a hook is deprecated (or new) even if it is not. You can usually catch this sort of thing by comparing this hook to the list of "related hooks" below.

WordPress version history for theme_mod_{$name}

This database has information for all major versions from WP 1.2.1 through 6.2.

Version File Line Type
2.2 wp-includes/theme.php 445 View in context filter
2.2 wp-includes/theme.php 447 View in context filter
2.3 wp-includes/theme.php 478 View in context filter
2.3 wp-includes/theme.php 480 View in context filter
2.5 wp-includes/theme.php 514 View in context filter
2.5 wp-includes/theme.php 516 View in context filter
2.6 wp-includes/theme.php 556 View in context filter
2.6 wp-includes/theme.php 558 View in context filter
2.7 wp-includes/theme.php 983 View in context filter
2.7 wp-includes/theme.php 985 View in context filter
2.8 wp-includes/theme.php 1007 View in context filter
2.8 wp-includes/theme.php 1009 View in context filter
2.9 wp-includes/theme.php 1184 View in context filter
2.9 wp-includes/theme.php 1186 View in context filter
3.0 wp-includes/theme.php 1276 View in context filter
3.0 wp-includes/theme.php 1278 View in context filter
3.1 wp-includes/theme.php 1339 View in context filter
3.1 wp-includes/theme.php 1341 View in context filter
3.2 wp-includes/theme.php 1341 View in context filter
3.2 wp-includes/theme.php 1343 View in context filter
3.3 wp-includes/theme.php 1352 View in context filter
3.3 wp-includes/theme.php 1354 View in context filter
3.4 wp-includes/theme.php 755 View in context filter
3.4 wp-includes/theme.php 760 View in context filter
3.5 wp-includes/theme.php 780 View in context filter
3.5 wp-includes/theme.php 785 View in context filter
3.6 wp-includes/theme.php 780 View in context filter
3.6 wp-includes/theme.php 785 View in context filter
3.7 wp-includes/theme.php 789 View in context filter
3.7 wp-includes/theme.php 794 View in context filter
3.8 wp-includes/theme.php 896 View in context filter
3.8 wp-includes/theme.php 903 View in context filter
3.9 wp-includes/theme.php 914 View in context filter
3.9 wp-includes/theme.php 921 View in context filter
4.0 wp-includes/theme.php 922 View in context filter
4.0 wp-includes/theme.php 929 View in context filter
4.1 wp-includes/theme.php 921 View in context filter
4.1 wp-includes/theme.php 928 View in context filter
4.2 wp-includes/theme.php 921 View in context filter
4.2 wp-includes/theme.php 928 View in context filter
4.3 wp-includes/theme.php 838 View in context filter
4.3 wp-includes/theme.php 845 View in context filter
4.4 wp-includes/theme.php 867 View in context filter
4.4 wp-includes/theme.php 874 View in context filter
4.5 wp-includes/theme.php 870 View in context filter
4.5 wp-includes/theme.php 877 View in context filter
4.6 wp-includes/theme.php 871 View in context filter
4.6 wp-includes/theme.php 878 View in context filter
4.7 wp-includes/theme.php 871 View in context filter
4.7 wp-includes/theme.php 878 View in context filter
4.8 wp-includes/theme.php 871 View in context filter
4.8 wp-includes/theme.php 878 View in context filter
4.9 wp-includes/theme.php 869 View in context filter
4.9 wp-includes/theme.php 876 View in context filter
5.0 wp-includes/theme.php 870 View in context filter
5.0 wp-includes/theme.php 877 View in context filter
5.1 wp-includes/theme.php 911 View in context filter
5.1 wp-includes/theme.php 919 View in context filter
5.2 wp-includes/theme.php 917 View in context filter
5.2 wp-includes/theme.php 925 View in context filter
5.3 wp-includes/theme.php 933 View in context filter
5.3 wp-includes/theme.php 944 View in context filter
5.4 wp-includes/theme.php 936 View in context filter
5.4 wp-includes/theme.php 947 View in context filter
5.5 wp-includes/theme.php 1021 View in context filter
5.5 wp-includes/theme.php 1032 View in context filter
5.6 wp-includes/theme.php 1021 View in context filter
5.6 wp-includes/theme.php 1034 View in context filter
5.7 wp-includes/theme.php 1021 View in context filter
5.7 wp-includes/theme.php 1034 View in context filter
5.8 wp-includes/theme.php 1018 View in context filter
5.8 wp-includes/theme.php 1031 View in context filter
5.9 wp-includes/theme.php 1012 View in context filter
5.9 wp-includes/theme.php 1025 View in context filter
6.0 wp-includes/theme.php 1020 View in context filter
6.0 wp-includes/theme.php 1033 View in context filter
6.1 wp-includes/theme.php 1020 View in context filter
6.1 wp-includes/theme.php 1033 View in context filter
6.2 wp-includes/theme.php 1026 View in context filter
6.2 wp-includes/theme.php 1039 View in context filter

Related Hooks

We find related hooks using word stems. theme_mod_{$name} has 3 significant word stem(s): theme, mod, name. Note that some of the hooks below may not appear in all versions of WP.