LLMS_Order::has_trial()
Determine if the order has a trial
Description Description
Return Return
(boolean) true if has a trial, false if it doesn't
Source Source
File: includes/models/model.llms.order.php
public function has_trial() { return ( $this->is_recurring() && 'yes' === $this->get( 'trial_offer' ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: