llms_get_donut( mixed $percentage, string $text = '', string $size = 'default', array $classes = array() )

Retrieve the HTML for a donut chart

Description Description

Note that this must be used in conjunction with some JS to initialize the chart!

Top ↑

Parameters Parameters


(mixed) (Required) Percentage to display


(string) (Optional) Text/caption to display (short). Default is empty string.

Default value: ''


(string) (Optional) Size of the chart (mini, small, default, large). Default is 'default'.

Default value: 'default'


(array) (Optional) Additional custom css classes to add to the chart element. Default is empty array.

Default value: array()

Top ↑

Return Return


Top ↑

Source Source

File: includes/llms.functions.core.php


 * Get a list of registered engagement types
 * @return array
 * @since 3.1.0
 * @version 3.24.0
function llms_get_engagement_types() {
	 * Filter the engagement types

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.