Instructor Commission Earnings
This shortcode is used to display the total commission earnings of the instructor through classes, courses and packages done in the site in data and chart format.
[dtlms_instructor_commission_earnings chart-title="Instructor Commission" enable-instructor-filter="true" instructor-earnings="over-period" content-filter="both" chart-type="pie" include-course-commission="true" include-class-commission="true" include-other-commission="true" include-total-commission="true" class="custom-class"]
Available Parameters
chart-title – You can give title for your chart here.
enable-instructor-filter – The available options are true or false. If you wish, you can enable Instructor filter option. This option is applicable only for administrator.
instructor-earnings – The available options are over-period or over-item. You can choose between content over period ( daily, monthly, yearly ) and content over item ( Course Commissions, Class Commissions, Other Amounts, Total Commissions ).
content-filter – The available options are both or chart or data. Would you like to show Chart or Data or Both ? Select from this option.
chart-type – The available options are bar or line or pie. Choose what type of chart to display. “Pie” chart will work only with “Over Item” – “Instructor Earnings”
timeline-filter – The available options are daily or monthly or all time. Choose timeline filter to use for content over item. This option is only available when the instructor earnings is set to “Over Item”
include-course-commission – The available options are true or false. If you wish to include course commission amount in the chart.
include-class-commission – The available options are true or false. If you wish to include class commission amount in the chart.
include-other-commission – The available options are true or false. If you wish to include other commission amount in the chart.
include-total-commission – The available options are true or false. If you wish to include total commission amount in the chart.
class – If you wish, you can add additional class name here.