Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_stylesheet [ WordPress Function ]

get_stylesheet ( No parameters )
Uses:
Returns:
  • (string) Stylesheet name.
Defined at:



Retrieve name of the current stylesheet.

The theme name that the administrator has currently set the front end theme as.

For all extensive purposes, the template name and the stylesheet name are going to be the same for most cases.

Source


<?php
function get_stylesheet() {
    return 
apply_filters('stylesheet'get_option('stylesheet'));
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics