LLMS_Analytics_Refunded_Widget::get_chart_data()
Contents
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',
),
);
}
Expand full source code Collapse full source code View on GitHub