WordPress at a glance
function is not described

WP_Theme::get_stylesheet() public WP 3.4.0

The directory name of the theme's "stylesheet" files, inside the theme root.

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

{} It's a method of the class: WP_Theme{}

No Hooks.

Return

String. Stylesheet

Usage

$WP_Theme = new WP_Theme();
$WP_Theme->get_stylesheet();

Changelog

Since 3.4.0 Introduced.

Code of WP_Theme::get_stylesheet() WP 5.5.1

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