LLMS_Notification_Controller_Upcoming_Payment_Reminder::unschedule_upcoming_payment_reminders( LLMS_Order $order )
Cancels scheduled upcoming payment reminder notifications
Description Description
Does nothing if no payments are scheduled.
Parameters Parameters
- $order
-
(LLMS_Order) (Required) Instance of the LLMS_Order which we'll schedule the payment reminder for.
Return Return
(void)
Source Source
File: includes/notifications/controllers/class.llms.notification.controller.upcoming.payment.reminder.php
public function unschedule_upcoming_payment_reminders( $order ) { $types = array_keys( $this->get_supported_types() ); foreach ( $types as $type ) { $this->unschedule_upcoming_payment_reminder( $order, $type ); } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |