LLMS_Analytics_Sales::total_units_sold( [array] $search )

Total units sold 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_units_sold( $search ) {

		$html = '<p class="llms-label">' . __( 'Total Sales', 'lifterlms' ) . '</p>';
		$html .= '<h1>' . LLMS_Analytics::get_total_units_sold( $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.