LLMS_Controller_Orders::pending_cancel_order( LLMS_Order $order )

Unschedule recurring payments and schedule access expiration.

Parameters Parameters


(LLMS_Order) (Required) LLMS_Order object.

Top ↑

Return Return


Top ↑

Source Source

File: includes/controllers/class.llms.controller.orders.php

	public function pending_cancel_order( $order ) {

		$date = $order->get_next_payment_due_date( 'Y-m-d H:i:s' );
		$order->set( 'date_access_expires', $date );



Top ↑

Changelog Changelog

Version Description
3.19.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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