learndash_get_user_profile_quiz_attempts learndash_get_user_profile_quiz_attempts( int $user_id ) Gets the user’s quiz attempts for the ld_profile shortcode/block ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Used By Description # Parameters # $user_id (int) (Optional) The ID of the user to get quiz attempts. Default 0. Return # (array) An array of quiz attempts, otherwise false. Source # File: includes/ld-misc-functions.php Changelog # Changelog Version Description 4.0.0 Introduced. Related # Namespace # global @package # LearnDash / Misc Uses # Uses Uses Description includes/ld-certificates.php: learndash_certificate_details () Gets certificate details. includes/course/ld-course-functions.php: learndash_get_course_id () Gets the course ID for a resource. Used By # Used By Used By Description themes/ld30/includes/helpers.php: learndash_30_ajax_pager () Gets the ld30 theme ajax pagination. includes/shortcodes/ld_profile.php: learndash_profile () Builds the [ld_profile] shortcode output.
Uses # Uses Uses Description includes/ld-certificates.php: learndash_certificate_details () Gets certificate details. includes/course/ld-course-functions.php: learndash_get_course_id () Gets the course ID for a resource.
Used By # Used By Used By Description themes/ld30/includes/helpers.php: learndash_30_ajax_pager () Gets the ld30 theme ajax pagination. includes/shortcodes/ld_profile.php: learndash_profile () Builds the [ld_profile] shortcode output.