Browse: Home / Hooks /


do_action( 'learndash_topic_completed',  array $topic_data )

Fires after the topic is marked completed.

Description #

Parameters #


(array) An array of topic complete data.

Source #

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

Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 * Example usage for learndash_topic_completed action.
	function( $topic_data ) {
		// May add any custom logic using $topic_data

		echo '<div>Custom content or markup</div>';

Changelog #

Version Description
2.1.0 Introduced.