• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Style id in template_post_render event handler

Arty

Well-known member
#2
Figured it out.
Code:
$params = $template->getParams();
if (isset($params['_styleId'])) {
   // do style specific stuff. current style id = $params['_styleId']
}