How to combine enrollment and role visibility classes

Classification: Areas: Frontend, Courses · Audience: Teacher · Visibility: Public (draft) · Verified: sj-learn-visibility-control · 2026-09-25

Steps

  1. Enable Visibility Control.
  2. Add both enrollment classes and visible_to_role_{role} on the same block.
  3. Preview as enrolled vs not-enrolled and as that role.

Evidence: Combine enrollment + role visibility classes.

About

Professional content creator and industry expert.

View all posts by