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.


Top ↑

Return Return

(mixed)


Top ↑

Source Source

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

	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 );
	}


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.