LLMS_Analytics_Refunded_Widget::get_chart_data()


Source Source

File: includes/admin/reporting/widgets/class.llms.analytics.widget.refunded.php

	protected function get_chart_data() {
		return array(
			'type'   => 'amount', // Type of field.
			'key'    => 'amount', // Key of result field to add when counting.
			'header' => array(
				'id'    => 'refunded',
				'label' => __( 'Amount Refunded', 'lifterlms' ),
				'type'  => 'number',
			),
		);
	}

Top ↑

User Contributed Notes User Contributed Notes

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