learndash_get_certificate_count

learndash_get_certificate_count( WP_User|int|null $user = null )

Gets the certificate count for a user.


Description #


Parameters #

$user

(WP_User|int|null) (Optional) WP_User object or user ID. Defaults to current logged in user.

Default value: null


Return #

(int|false) Returns users certificate count.


Source #

File: themes/ld30/includes/helpers.php