llms_sd_dashboard_donut_widget( string $title, float $perc, string $text = '', string $size = 'medium' )

Displays a donut chart widget

Parameters Parameters


(string) (Required) Title of the widget.


(float) (Required) donut chart percentage.


(string) (Optional) Text to display within the donut.

Default value: ''


(string) (Optional) Size of the chart.

Default value: 'medium'

Top ↑

Return Return


Top ↑

Source Source

File: includes/functions/llms.functions.templates.dashboard.widgets.php

function llms_sd_dashboard_donut_widget( $title, $perc, $text = '', $size = 'medium' ) {

	llms_sd_dashboard_widget( $title, llms_get_donut( $perc, $text, $size ) );


Top ↑

Changelog Changelog

Version Description
3.24.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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