WP_Theme::get_stylesheet

SummerySummery

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

Syntax

WP_Theme::get_stylesheet()

DescriptionDescription

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

ReturnReturn

(string) Stylesheet

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
3.4.0 Introduced.
Scroll to Top