LLMS_Admin_Table::get_progress_bar_html( float $percentage, string $text = '' )
Get the HTML to output a progress bar within a td Improve ugly tables with a small visual flourish Useful when displaying a percentage within a table! Bonus if the table sorts by that percentage column
Description Description
Parameters Parameters
- $percentage
-
(Required) the percentage to be displayed
- $text
-
(Optional) text to display over the progress bar, defaults to $percentage
Default value: ''
Return Return
(string)
Source Source
File: includes/abstracts/abstract.llms.admin.table.php
Changelog Changelog
Version | Description |
---|---|
3.4.1 | Introduced. |