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 5.1.

Version File Line Type
1.5.2 wp-includes/functions.php 1388 View in context filter
2.0 wp-includes/functions.php 1650 View in context filter
2.0.11 wp-includes/functions.php 1723 View in context filter
2.1 wp-includes/theme.php 293 View in context filter
2.2 wp-includes/theme.php 295 View in context filter
2.3 wp-includes/theme.php 317 View in context filter
2.5 wp-includes/theme.php 336 View in context filter
2.6 wp-includes/theme.php 336 View in context filter
2.7 wp-includes/theme.php 491 View in context filter
2.8 wp-includes/theme.php 512 View in context filter
2.9 wp-includes/theme.php 630 View in context filter
3.0 wp-includes/theme.php 665 View in context filter
3.1 wp-includes/theme.php 669 View in context filter
3.2 wp-includes/theme.php 671 View in context filter
3.3 wp-includes/theme.php 672 View in context filter
3.4 wp-includes/theme.php 443 View in context filter
3.5 wp-includes/theme.php 455 View in context filter
3.6 wp-includes/theme.php 455 View in context filter
3.7 wp-includes/theme.php 461 View in context filter
3.8 wp-includes/theme.php 535 View in context filter
3.9 wp-includes/theme.php 535 View in context filter
4.0 wp-includes/theme.php 543 View in context filter
4.1 wp-includes/theme.php 542 View in context filter
4.2 wp-includes/theme.php 543 View in context filter
4.3 wp-includes/theme.php 560 View in context filter
4.4 wp-includes/theme.php 560 View in context filter
4.5 wp-includes/theme.php 560 View in context filter
4.6 wp-includes/theme.php 561 View in context filter
4.7 wp-includes/theme.php 561 View in context filter
4.8 wp-includes/theme.php 561 View in context filter
4.9 wp-includes/theme.php 561 View in context filter
5.0 wp-includes/theme.php 562 View in context filter
5.1 wp-includes/theme.php 590 View in context 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.