learndash-{$context}-progress-stats

apply_filters( "learndash-{$context}-progress-stats" )

In the topic context we’re measuring progress through a lesson, not the course itself


Description #


Source #

File: themes/ld30/templates/modules/progress-group.php


Examples #

 <?php
/**
 * Example usage for learndash-{$context}-progress-stats filter.
 */
add_filter(
	'learndash-course-progress-stats',
	function( $progress_markup ) {
		// May add any custom logic using $progress_markup.

		// Always return $progress_markup.
		return $progress_markup;
	}
);