Skip to main content

How to add custom conditions?

There’s a “Custom Function” condition, and a “PHP expression” condition, but neither are very intuitive.

I need a snippet to run only if the following condition is TRUE:

!bricks_is_builder_main();

How would I implement this condition?

1 comment

Log in to comment and vote

Comments1

  • mark@uipress.co

    Team•

    Aug 25

    In that situation it’d be better to add the condition to the snippet it’s self.