LLMS_Order::get_initial_price( $price_args = array(), $format = 'html' )
Get the initial payment amount due on checkout
Description Description
This will always be the value of "total" except when the product has a trial.
Return Return
(mixed)
Source Source
File: includes/models/model.llms.order.php
794 795 796 797 798 799 800 801 802 803 | public function get_initial_price( $price_args = array (), $format = 'html' ) { if ( $this ->has_trial() ) { $price = 'trial_total' ; } else { $price = 'total' ; } return $this ->get_price( $price , $price_args , $format ); } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |