learndash_get_user_stats

learndash_get_user_stats( int|null $user_id = null )

Gets the user statistics.


Description #


Parameters #

$user_id

(int|null) (Optional) The ID of the user. Defaults to current logged in user.

Default value: null


Return #

(array) An array of user statistics.


Source #

File: themes/ld30/includes/helpers.php