Determine if the trial period has ended for the order

Return Return

(boolean) True if ended, false if not ended.

Top ↑

Source Source

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

	public function has_trial_ended() {
		return ( llms_current_time( 'timestamp' ) >= $this->get_trial_end_date( 'U' ) );

Top ↑

Changelog Changelog

Version Description
3.10.0 Unknown.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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