learndash_get_user_activity_meta

learndash_get_user_activity_meta( int $activity_id,  string $activity_meta_key = '',  boolean $return_activity_meta_value_only = true )

Gets the user activity meta.


Description #


Parameters #

$activity_id

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

$activity_meta_key

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

Default value: ''

$return_activity_meta_value_only

(boolean) (Optional) Whether to return only activity meta value.

Default value: true


Return #

(object) Activity meta object.


Source #

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