LLMS_Order::has_trial()

Determine if the order has a trial


Return Return

(boolean) True if has a trial, false if it doesn't.


Top ↑

Source Source

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

	public function has_trial() {
		return ( $this->is_recurring() && 'yes' === $this->get( 'trial_offer' ) );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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