learndash_update_user_activity

do_action( 'learndash_update_user_activity',  array $args )

Fires after updating user activity.


Description #


Parameters #

$args

(array) An array of activity arguments.


Source #

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


Examples #

 <?php
/**
 * Example usage for learndash_update_user_activity action.
 */
add_action(
	'learndash_update_user_activity',
	function( $args ) {
		// May add any custom logic using $args

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