learndash_certificate_details( int $post_id, int|null $cert_user_id = null )
Gets certificate details.
Description #
Return a link to the certificate and certificate threshold.
Parameters #
- $post_id
-
(int) (Required) Post ID.
- $cert_user_id
-
(int|null) (Optional) ID of the user to get certificate details for.
Default value: null
Return #
(array) Returns certificate details.
Source #
Changelog #
Version | Description |
---|---|
2.1.0 | Introduced. |