Visibility Control for LearnDash


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 LearnDash Course, Or
2. User is Logged In or Logged Out.

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


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
  • 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

Future Development

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



This section describes how to install the plugin and get it working.


  1. Upload the plugin files to the /wp-content/plugins/visibility_control_for_learndash directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Add the CSS classes to your HTML elements or Menu Items as described in the Details section.


What is LearnDash LMS?

LearnDash LMS is the number one WordPress based Learning Management System (LMS) plugin. It includes many advanced features including, quizzing engine, course management, reports, certificates and payment methods.

You can also add GrassBlade xAPI Companion plugin and GrassBlade LRS to start using Experience API (xAPI) based contents with LearnDash LMS.

What is GrassBlade xAPI Companion plugin?

GrassBlade xAPI Companion is a paid WordPress plugin that enables support for Experience API (xAPI) based content on WordPress.

It also provides best in industry Advanced Video Tracking feature, that works with YouTube, Vimeo and self-hosted MP4 videos. Tracking of MP3 audios is also supported.

It can be used independently without any LMS. However, to add advanced features, it also has integrations with several LMSes.

What is GrassBlade Cloud LRS?

GrassBlade Cloud LRS is a cloud-based Learning Record Store (LRS). An LRS is a required component in any xAPI-based ecosystem. It works as a data store of all eLearning data, as well as a reporting and analysis platform. There is an installable version which can be installed on any PHP/MySQL based server.


25 de diciembre de 2019
I think that the same function but with shortcode do learndash native shortcodes and Gutenberg blocks (LearnDash Visitor, LearnDash Student, LearnDash Course Complete, Not Started etc.). Am I wrong?
Leer todas las 2 reseñas

Colaboradores y desarrolladores

«Visibility Control for LearnDash» es un software de código abierto. Las siguientes personas han colaborado con este plugin.


Traduce «Visibility Control for LearnDash» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios


Fix: Disable the visiblity functionality when LearnDash is not installed