path_to_theme

Definition

path_to_theme()
includes/theme.inc, line 697

Description

Return the path to the currently selected theme.

Code

<?php
function path_to_theme() {
  global $theme_path;

  if (!isset($theme_path)) {
    init_theme();
  }

  return $theme_path;
}
?>
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.