Hide “Expired” courses from Course directory

You can add custom Classes to courses in course directory using this simple tip and using this class courses can be hidden from course directory.

1. Go to WP Admin -> Plugins -> Editor -> WPLMS Customizer->wplms_customizer.php

2. Add this code in __construct function:

3. Add this code in class:

4. Now go to WP Admin -> Appearance -> customise -> Custom CSS and add this code :

Refer screenshots for reference :




Was this article helpful?

Related Articles