apply_filters( 'llms_unschedule_recurring_payment_on_access_plan_expiration', bool , LLMS_Order $order, mixed $new_order_status, string $enrollment_status )

Filters whether or not recurring payments should be stopped on access plan expiration.


Description Description

By default when an access plan expires, recurring payments are stopped.


Top ↑

Parameters Parameters

(bool)

$order

(LLMS_Order) Instance of the order.

$new_order_status

(mixed) New order status. If false it means that the new order status is not going to change. At this stage the orders status is not changed yet.

$enrollment_status

(string) The new enrollment status. At this stage the enrollment status is not changed yet.


Top ↑

Source Source

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

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
7.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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