• Hello,
    Is it possible to run a snippet only in frontend and not in admin?

    For example, I have a snippet och all pages that checks for a password otherwise a redirect occur. When editing the page with Elementor I need to turn of the snippet everytime befor editing the page.

Viewing 1 replies (of 1 total)
  • Plugin Support Temyk

    (@webtemyk)

    Hello.

    You can check this in the snippet code

    if(!is_admin(){
    your code
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Only in frontend, not in admin’ is closed to new replies.