LLMS_Notification_Controller_Upcoming_Payment_Reminder::unschedule_upcoming_payment_reminder( LLMS_Order $order, string $type )

Cancels a scheduled upcoming payment reminder notification type

Description Description

Does nothing if no payments are scheduled.

Top ↑

Parameters Parameters


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


(string) (Required) The notification type identifier.

Top ↑

Return Return


Top ↑

Source Source

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

	public function unschedule_upcoming_payment_reminder( $order, $type ) {

		$action_args = $this->get_recurring_payment_reminder_action_args( $order, $type );

		if ( as_next_scheduled_action( 'llms_send_upcoming_payment_reminder_notification', $action_args ) ) {
			as_unschedule_action( 'llms_send_upcoming_payment_reminder_notification', $action_args );


Top ↑

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.