Browse: Home / Hooks /


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

Filters the progress statistics.

Description #

The dynamic portion of the hook name, $context, refers to the context of progress, such as course, lesson, topic, quiz, etc.

Parameters #


(string) The HTML template of users course/lesson progress

Source #

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

Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 * Example usage for learndash-{$context}-progress-stats filter.
	function( $progress_markup ) {
		// May add any custom logic using $progress_markup.

		// Always return $progress_markup.
		return $progress_markup;

Changelog #

Version Description
3.0.0 Introduced.