learndash_update_user_activity_args

apply_filters( 'learndash_update_user_activity_args',  array $args )

Filters user activity arguments.


Description #


Parameters #

$args

(array) An array of user activity arguments.


Source #

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


Examples #

 <?php
/**
 * Example usage for learndash_update_user_activity_args filter.
 */
add_filter(
	'learndash_update_user_activity_args',
	function( $args ) {
		// May add any custom logic using $args.

		// Always return $args.
		return $args;
	}
);