LLMS_Notification_Controller_Upcoming_Payment_Reminder::schedule_upcoming_payment_reminders( LLMS_Order $order, int $payment_date )

Schedule upcoming payment reminder notification


Parameters Parameters

$order

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

$payment_date

(int) (Optional) The upcoming payment due date in Unix time format and UTC. Default is 0. When not provided it'll be calculated from the order.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/notifications/controllers/class.llms.notification.controller.upcoming.payment.reminder.php

	public function schedule_upcoming_payment_reminders( $order, $payment_date = 0 ) {

		$types  = array_keys( $this->get_supported_types() );
		$return = array();
		foreach ( $types as $type ) {
			$return[ $type ] = $this->schedule_upcoming_payment_reminder( $order, $type, $payment_date );
		}

		return $return;

	}


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.