learndash_mark_incomplete_process

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 #

File: includes/course/ld-course-progress.php


Examples #

 <?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

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