| Versions | |
|---|---|
| 4.7 | theme_get_styles() |
Return the HTML for a theme's stylesheets.
includes/
<?php
function theme_get_styles() {
$output = '';
foreach (theme_add_style() as $style) {
$output .= theme('stylesheet_import', $style->path, $style->media);
}
return $output;
}
?>