learndash_update_user_activity_meta

learndash_update_user_activity_meta( int $activity_id,  string $meta_key = '',  string|null $meta_value = null )

Updates the user activity meta.


Description #


Parameters #

$activity_id

(int) (Optional) Activity ID. Default 0.

$meta_key

(string) (Optional) The activity meta key to get.

Default value: ''

$meta_value

(string|null) (Optional) Activity meta value.

Default value: null


Source #

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