LLMS_Analytics_Refunded_Widget::format_response()

Format response.


Source Source

File: includes/admin/reporting/widgets/class.llms.analytics.widget.refunded.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 ) );

		}

	}


Top ↑

Changelog Changelog

Changelog
Version Description
unknown unknown
3.36.3 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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