Clanbite Since 1.2.0
clanbite_render_square_progress_svg( string $unique_id, int $size, int $stroke_width, int $progress ): voidRender square progress SVG with rounded corners.
Parameters
$unique_id(string) RequiredUnique identifier for the SVG.
$size(int) RequiredSquare size.
$stroke_width(int) RequiredStroke width.
$progress(int) RequiredProgress percentage (0-100).
Returns
void
Defined in src/blocks/shared/components/avatar-progress-bar.php
Changelog
| Version | Description |
|---|---|
| 1.3.0 | Removed. |
| 1.2.0 | Introduced. |