The global $template variable
-
hello guys,
i have found this piece of code and its useful for its purpose which is displaying the current template being used,add_action('wp_head', 'show_template'); function show_template() { global $template; print_r($template); }
my question is where do i get more information on the global $template variable.
- The topic ‘The global $template variable’ is closed to new replies.