Summery Summery
Returns the URL to the directory of the theme root.
Syntax Syntax
Description Description
This is typically the absolute URL to wp-content/themes. This forms the basis for all other URLs returned by WP_Theme, so we pass it to the public function get_theme_root_uri() and allow it to run the ‘theme_root_uri’ filter.
Return Return
(string) Theme root URI.
Source Source
File: wp-includes/class-wp-theme.php
} /** * Returns the main screenshot file for the theme. * * The main screenshot is called screenshot.png. gif and jpg extensions are also allowed.
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |