WordPress plugin intelligence profile

Visibility Control for LearnDash

Visibility Control for LearnDash helps you hide messages and content for specific criterion anywhere on your WordPress page.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.8
Current version1.7
WordPress coverageTested up to WordPress 6.8
Minimum stackWP 4.0 · PHP 5.6
Directory statusactive
Last directory update11 Sept 20251y ago
Active installations1K+Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 9 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Visibility Control for LearnDash version 1.7 as active, updated 1y ago and tested up to WordPress 6.8.

Overview

About this plugin

Visibility Control for LearnDash helps you hide messages and content for specific criterion anywhere on your WordPress page.

You can show/hide HTML elements, menus, and other details based on:

1. User’s access to a particular, any or all LearnDash Course, Or

2. User’s access to a particular, any or all LearnDash Group, Or

3. User is Logged In or Logged Out.

4. User’s role.

You simply need to add a CSS class to your element div or span. As explained here:

Example:

Login/Logout Status:

  • To show the element/menu item to a logged-in user, add this CSS class: visible_to_logged_in OR hidden_to_logged_out
  • To hide the element/menu item from a logged-in user, add this CSS class: visible_to_logged_out OR hidden_to_logged_in

For user’s role:

* To show the element/menu item to a user will role administrator, add this CSS class: visible_to_role_administrator OR hidden_to_role_administrator

* Note: To show an element to multiple specific roles only, you need add the element multiple times, one for each role. To hide an element/menu from specific multiple roles only you can add the element once add multiple classes to the same element.

For all the courses:

  • To show the element/menu item to user with access to all the Courses, add this CSS class: visible_to_course_all
  • To hide the element/menu item from user with access to all the Courses, add this CSS class: hidden_to_course_all
  • To show the element/menu item to users not enrolled in any Course, add this CSS class: visible_to_course_none
  • To hide the element/menu item from users not enrolled in any Course, add this CSS class: hidden_to_course_none

For a specific course, if Course ID is 123:

  • To show the element/menu item to user with access to above Course, add this CSS class: visible_to_course_123
  • To hide the element/menu item from user with access to above Course, add this CSS class: hidden_to_course_123

For users with access to at least one course:

* Add this CSS class: hidden_to_course_none

For a course completion status, if Course ID is 123:

  • To show the element/menu item to user who completed above course, add this CSS class: visible_to_course_complete_123
  • To hide the element/menu item from user who completed above course, add this CSS class: hidden_to_course_complete_123
  • To show the element/menu item to user who has not completed above course, add this CSS class: visible_to_course_incomplete_123
  • To hide the element/menu item from user who has not completed above course, add this CSS class: hidden_to_course_incomplete_123

For all the groups:

  • To show the element/menu item to user with access to all the groups, add this CSS class: visible_to_group_all
  • To hide the element/menu item from user with access to all the groups, add this CSS class: hidden_to_group_all
  • To show the element/menu item to users not enrolled in any group, add this CSS class: visible_to_group_none
  • To hide the element/menu item from users not enrolled in any group, add this CSS class: hidden_to_group_none

For a specific group, if Group ID is 123:

  • To show the element/menu item to user with access to above Group, add this CSS class: visible_to_group_123
  • To hide the element/menu item from user with access to above Group, add this CSS class: hidden_to_group_123

For users with access to at least one group:

* Add this CSS class: hidden_to_group_none

Mechanism of Functioning

  • Multiple CSS Classes: If multiple visibility control classes are added, ALL of them must meet the criterion to keep the element visible. If any one of them hides the element, it will be hidden. For example: visible_to_group_123 visible_to_group_124 will show the element only to those who have access to both groups.
  • Hidden data/elements reaches the browser. Though user’s do not see it.
  • CSS is added to the page for all CSS elements that needs to be hidden based on above rules.
  • After page is loaded. These elements are removed from page using jQuery (if available), so it won’t be available even on Inspect.
  • Elements rendered after the page load are hidden but not removed from DOM/page.

Future Development

Depending on the interest in this feature, we will decide on adding a shortcode and/or a Gutenberg Block to achieve this feature.

Other Visibility Control Plugins:

– Visibility Control for LearnDash LMS

– Visibility Control for WP Courseware LMS

– Visibility Control for LearnPress LMS

– Visibility Control for LifterLMS

– Visibility Control for TutorLMS

– Visibility Control for MasterStudyLMS

– Visibility Control for Sensei LMS

– Visibility Control for WooCommerce

Related Plugins for LearnDash LMS:

* Manual Completions for LearnDash LMS

* Manage Enrollment for LearnDash LMS

* Autocomplete LearnDash Lessons and Topics

It is pretty similar to this plugin and having same features, it allows controlling the visibility of HTML elements based user’s purchase of a particular WooCommerce Product or Variation.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • hide content
  • elearning
  • learndash
  • lms
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.8

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.8.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.8
Minimum requirementsWordPress 4.0 · PHP 5.6
Update activity11 Sept 20251y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.