As of now there is an option to exclude taken/expired courses from the directory. It only influences logged in students, and only works with online courses. How make the same for offline courses?
How to hide offline courses with passed date from directory?
We even have no course field for offline course start date/duration to calculate the course end date yet.
But I guess the directory loop uses the same thing with expired online courses field. So, which php files should I alternate in order to filter the directory (assuming that I already have all the necessary fields for the offline courses?