learndash_get_certificate_link

learndash_get_certificate_link( int $quiz_id,  int|null $user_id = null )

Gets the certificate link if the certificate exists and quizzes are completed.


Description #


Parameters #

$quiz_id

(int) (Required) Quiz ID.

$user_id

(int|null) (Optional) User ID.

Default value: null


Return #

(string) Certificate link HTML output or empty string.


Source #

File: includes/ld-certificates.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.