do_action( "learndash-{$context}-progress-bar-after" )
Action to add custom content before the course content progress bar
Description #
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?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
},
10,
2
);
Changelog #
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |