WPDev.one
Core Function
View Source on Trac ↗

get_theme_roots()

get_theme_roots( )

Retrieves theme roots.

Return Value

((array)
(array | string) An array of theme roots keyed by template/stylesheet or a single theme root if all themes have the same root.

Function Information

Since Version
2.9.0
Source File
wp-includes/theme.php
Advertisement