WP_Theme::get_theme_root

Advertisement

Summery Summery

The absolute path to the directory of the theme root.

Syntax Syntax

WP_Theme::get_theme_root()

Description Description

This is typically the absolute path to wp-content/themes.

Return Return

(string) Theme root.

Source Source

File: wp-includes/class-wp-theme.php

	 * Returns the URL to the directory of the theme root.
	 *
	 * This is typically the absolute URL to wp-content/themes. This forms the basis

Advertisement

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

Advertisement

Leave a Reply