Drupal get current path to theme

Sometimes you need to get the path to the current theme. You could use path_to_theme() but if you call it from inside a module, you will get the path to the module. Here's how I do it:
$theme_path = drupal_get_path('theme', variable_get('theme_default', NULL));


Article Type