Connect Private Course Button to a Custom Page

Private Course label appears in the WPLMS for courses which do not have connected WooCommerce Product or PMPro membership or MyCred points

In this tip we’ll connect the Private Course button with a custom page.

0. Install the WPLMS Customizer plugin.

1. Go to WP Admin -> Plugins -> Editor -> WPLMS Customizer -> customizer_class.php
2. Add following code in the _construct function:

PHP Code:

3. Add following code in the class :

PHP Code:

change to your Custom Page Link

Was this article helpful?

Related Articles