llms_get_progress_bar_html( $percentage )


Source Source

File: includes/llms.template.functions.php

function llms_get_progress_bar_html( $percentage ) {

	$percentage = sprintf( '%s%%', $percentage );

	$html = '<div class="llms-progress">
		<div class="progress__indicator">' . $percentage . '</div>
		<div class="llms-progress-bar">
			<div class="progress-bar-complete" data-progress="' . $percentage . '"  style="width:' . $percentage . '"></div>
		</div></div>';

	return $html;

}


Top ↑

User Contributed Notes User Contributed Notes

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