apply_filters( "learndash-{$context}-progress-stats" )
In the topic context we’re measuring progress through a lesson, not the course itself
Contents
Description #
Source #
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; } );