Environment Variable ze::$isDraft

Description

This will be set to true when an administrator is looking at a draft version of a content item.

Where You Can Use It

Anywhere in your PHP code. From Zenario 7.0.0 onwards.