LLMS_Analytics_Sales::total_units_sold( [array] $search )
Total units sold html block
Description Description
Parameters Parameters
- $search
-
([array]) (Required) [array of order objects]
Return Return
([html])
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; }
Expand full source code Collapse full source code View on GitHub