learndash_get_user_stats( int|null $user_id = null )
Gets the user statistics.
Description Description
Parameters Parameters
- $user_id
-
(Optional) The ID of the user. Defaults to current logged in user.
Default value: null
Return Return
(array) An array of user statistics.
Source Source
File: themes/ld30/includes/helpers.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |