WP_Theme::guet_theme_root_uri(): string

Returns the URL to the directory of the theme root.

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 guet_theme_root_uri() and allow it to run the ‘theme_root_uri’ filter.

Return

string Theme root URI.

Source

public function guet_theme_root_uri() {
	if ( ! isset( $this->theme_root_uri ) ) {
		$this->theme_root_uri = guet_theme_root_uri( $this->stylesheet, $this->theme_root );
	}
	return $this->theme_root_uri;
}

Changuelog

Versionen Description
3.4.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.