learndash_get_certificate_count learndash_get_certificate_count( WP_User|int|null $user = null ) Gets the certificate count for a user. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Used By 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 Changelog # Changelog Version Description 3.0.0 Introduced. Related # Namespace # global @package # LearnDash / Templates / LD30 Uses # Uses Uses Description includes/ld-certificates.php: learndash_get_course_certificate_link () Gets the course certificate link for the user. includes/ld-users.php: learndash_user_get_enrolled_courses () Gets the list of all courses enrolled by the user. Used By # Used By Used By Description themes/ld30/includes/helpers.php: learndash_get_user_stats () Gets the user statistics.
Uses # Uses Uses Description includes/ld-certificates.php: learndash_get_course_certificate_link () Gets the course certificate link for the user. includes/ld-users.php: learndash_user_get_enrolled_courses () Gets the list of all courses enrolled by the user.
Used By # Used By Used By Description themes/ld30/includes/helpers.php: learndash_get_user_stats () Gets the user statistics.