Welcome, visitor! Log in
 

WordPress hook directory
theme_root

Description

Applied to the theme root directory (normally wp-content/themes) returned by the get_theme_root function.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for theme_root

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

Version File Line Type
1.5.2 wp-includes/functions.php 1388 View hook in source filter
2.0 wp-includes/functions.php 1650 View hook in source filter
2.0.11 wp-includes/functions.php 1723 View hook in source filter
2.1 wp-includes/theme.php 293 View hook in source filter
2.2 wp-includes/theme.php 295 View hook in source filter
2.3 wp-includes/theme.php 317 View hook in source filter
2.5 wp-includes/theme.php 336 View hook in source filter
2.6 wp-includes/theme.php 336 View hook in source filter
2.7 wp-includes/theme.php 491 View hook in source filter
2.8 wp-includes/theme.php 512 View hook in source filter
2.9 wp-includes/theme.php 630 View hook in source filter
3.0 wp-includes/theme.php 665 View hook in source filter
3.1 wp-includes/theme.php 669 View hook in source filter
3.2 wp-includes/theme.php 671 View hook in source filter
3.3 wp-includes/theme.php 672 View hook in source filter
3.4 wp-includes/theme.php 443 View hook in source filter
3.5 wp-includes/theme.php 455 View hook in source filter

Related Hooks

We find related hooks using word stems. theme_root has 2 significant word stem(s): theme, root. Note that some of the hooks below may not appear in all versions of WP.