WP_Theme::get_stylesheet(): string

Returns the directory name of the theme’s “stylesheet” files, inside the theme root.


Description

In the case of a child theme, this is directory name of the child theme.
Otherwise, get_stylesheet() is the same as get_template() .


Top ↑

Return

string Stylesheet


Top ↑

Source

File: wp-includes/class-wp-theme.php. View all references

public function get_stylesheet() {
	return $this->stylesheet;
}


Top ↑

Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes

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