Posted By

jonathanpglick on 04/01/10


Tagged


Versions (?)

Trigger Drupal Admin Theme


 / Published in: PHP
 

Needs to execute before theme is initialized -- Ideally in hookinit() -- but also works in hooknodeapi $op == 'view'

  1. global $custom_theme;
  2. $custom_theme = variable_get('admin_theme', 0);

Report this snippet  

You need to login to post a comment.