Created
April 2, 2024 08:21
-
-
Save joychetry/ff1029601d59f2213d607decd40e9583 to your computer and use it in GitHub Desktop.
Bricks Builder: Avoid blank screen on inside editor.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Your code wrapped inside this condition | |
if( !bricks_is_builder() && !current_user_can('administrator') ){ | |
//Your code here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment