do_action( 'learndash_mark_incomplete_process', int $user_id, int $course_id, int $topic_id )
Fires on marking a course incomplete.
Description #
Parameters #
- $user_id
-
(int) User ID.
- $course_id
-
(int) Course ID.
- $topic_id
-
(int) Topic ID.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php
/**
* Example usage for learndash_mark_incomplete_process action.
*/
add_action(
'learndash_mark_incomplete_process',
function( $user_id, $course_id, $topic_id ) {
// May add any custom logic using $user_id, $course_id, $topic_id
},
10,
3
);