learndash-{$context}-progress-bar-after

do_action( "learndash-{$context}-progress-bar-after" )

Action to add custom content before the course content progress bar


Description #


Source #

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


Examples #

 <?php
/**
 * Example usage for learndash-{$context}-progress-bar-after action.
 */
add_action(
	'learndash-lesson-progress-bar-after',
	function( $course_id, $user_id ) {
		// May add any custom logic using $course_id, $user_id

		echo '<div>Custom content or markup</div>';
	},
	10,
	2
);
 

Changelog #

Changelog
Version Description
3.0 Introduced.