LLMS_Order::unschedule_recurring_payment()

Cancels a scheduled recurring payment action


Description Description

Does nothing if no payments are scheduled


Return Return

(void)


Top ↑

Source Source

File: includes/models/model.llms.order.php

	public function unschedule_recurring_payment() {

		if ( as_next_scheduled_action( 'llms_charge_recurring_payment', $this->get_action_args() ) ) {
			as_unschedule_action( 'llms_charge_recurring_payment', $this->get_action_args() );
		}

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.32.0 Update to use latest action-scheduler functions.
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: