LLMS_Analytics_Sold_Widget::format_response()
Format response.
Contents
Source Source
File: includes/admin/reporting/widgets/class.llms.analytics.widget.sold.php
protected function format_response() { if ( ! $this->is_error() ) { $results = $this->get_results(); return llms_price_raw( floatval( is_array( $results ) ? array_sum( wp_list_pluck( $results, 'amount' ) ) : $results ) ); } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
unknown | unknown |
3.36.3 | Introduced. |