LLMS_Analytics_Sales::total_sales( [array] $search )

Total sales html block


Description Description


Parameters Parameters

$search

([array]) (Required) [array of order objects]


Top ↑

Return Return

([html])


Top ↑

Source Source

File: includes/admin/analytics/class.llms.analytics.sales.php

	public function total_sales( $search ) {

		$html = '<p class="llms-label">' . __( 'Total Sold', 'lifterlms' ) . '</p>';
		$html .= '<h1>' . LLMS_Number::format_money_no_decimal( LLMS_Analytics::get_total_sales( $search->results ) ) . '</h1>';

		return $html;
	}


Top ↑

User Contributed Notes User Contributed Notes

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