WP_Theme::get_stylesheet_directory

SummerySummery

Returns the absolute path to the directory of a theme’s “stylesheet” files.

Syntax

WP_Theme::get_stylesheet_directory()

DescriptionDescription

In the case of a child theme, this is the absolute path to the directory of the child theme’s files.

ReturnReturn

(string) Absolute path of the stylesheet directory.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
3.4.0 Introduced.
Scroll to Top