After_Course_Expire
Trigger for sending notifications after a course expires.
Description #
Source #
File: includes/notifications/src/trigger/after-course-expire.php
Changelog #
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |
Methods #
- can_send_delayed_email
- get_users_from_a_course — Retrieves the users whose course access has expired, combining both users currently visible in the course and those already flagged as expired by LearnDash.
- listen — A base point for monitoring the events
- maybe_send_reminder — Sends the notification emails for users whose course access has expired.
- monitor_sent_status — Check trigger sent status when user course access is updated