PHP Conditinal Check While on Live Editor Mode.
Hello there,
I would like to display an informative content merely on the page builder live editor mode. Is there any PHP conditional check I can use?
Regards,
Kharis
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
1Hi Kharis,
Yes, but in a semi-indirect manner. You need to check for the siteorigin_panels_live_editor query in the URL. So something like this:
if( !empty( $_GET['siteorigin_panels_live_editor'] ) ) { // Live Editor is active, run relevant code here }Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.