(Add your language)
Retrieve name of the current stylesheet.
The theme name that the administrator has currently set the front end theme as.
For all intents and purposes, the template name and the stylesheet name are going to be the same for most cases. In the event that you use a child theme, that is the name that will be returned, rather than the parent.
<?php get_stylesheet(); ?>
- Stylesheet name.
- Uses: apply_filters() Calls 'stylesheet' filter on stylesheet name.
- Uses: get_option() to retrieve the 'stylesheet' option.
- In the event a child theme is being used, that is the name that will be returned, not the parent theme name (use get_template_directory() instead if you want the parent directory)
get_stylesheet() is located in