Browse: Home / Functions /

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


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.