do_action( "learndash-{$context}-progress-bar-after" )
Action to add custom content before the course content progress bar
Contents
Description #
Source #
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 #
Version | Description |
---|---|
3.0 | Introduced. |