Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LLMS_Order::calculate_next_payment_date( string $format = 'Y-m-d H:i:s' )

Calculate the next payment due date


Description Description


Parameters Parameters

$format

(Optional) PHP date format used to format the returned date string.

Default value: 'Y-m-d H:i:s'


Top ↑

Return Return

(string) The formatted next payment due date or an empty string when there is no next payment.


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.9.0 Fix comparison for PHP8 compat.
3.37.6 Now uses the last successful transaction time to calculate from when the previously stored next payment date is in the future.
3.12.0 Unknown.
3.10.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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