LLMS_Analytics_Sold_Widget::get_chart_data()


Source Source

File: includes/admin/reporting/widgets/class.llms.analytics.widget.sold.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'    => 'sold',
				'label' => __( 'Net Sales', 'lifterlms' ),
				'type'  => 'number',
			),
		);
	}

Top ↑

User Contributed Notes User Contributed Notes

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