This Pro tutorial provides the steps to output elements based on their CSS class to users of the specified role in WordPress when using Bricks Builder.
We shall set up two conditions:
Elements having a class of for-admins to be rendered only to admins.
Elements having a class of for-subscribers to be rendered only to subscribers.
Add the following in child theme's functions.php or a snippets plugin: