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.


Top ↑

Parameters Parameters

$order

(LLMS_Order) (Required) Instance of the LLMS_Order which we'll schedule the payment reminder for.


Top ↑

Return Return

(void)


Top ↑

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 );
		}

	}


Top ↑

Changelog Changelog

Changelog
Version Description
5.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.