How do I get the path of the current drupal theme?

Steven Noble picture Steven Noble · Nov 20, 2008 · Viewed 50.7k times · Source

The Drupal API has drupal_get_path($type, $name) which will give the path of any particular theme or module. What if I want the path of the current theme?

Answer

FGM picture FGM · Nov 20, 2008

Use the path_to_theme function.