LLMS_Notification_Controller_Upcoming_Payment_Reminder::add_actions()
Add an action to trigger the notification to send
Return Return
(void)
Source Source
File: includes/notifications/controllers/class.llms.notification.controller.upcoming.payment.reminder.php
protected function add_actions() {
parent::add_actions();
// Add actions to recurring payment scheduling/unscheduling.
add_action( 'llms_charge_recurring_payment_scheduled', array( $this, 'schedule_upcoming_payment_reminders' ), 10, 2 );
add_action( 'llms_charge_recurring_payment_unscheduled', array( $this, 'unschedule_upcoming_payment_reminders' ) );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |