Browse: Home / Hooks /

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 #

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
);