LLMS_Certificates::get_export( int $certificate_id, bool $use_cache = false )
Retrieve an existing or generate a downloadable HTML file for a certificate
Description Description
Parameters Parameters
- $certificate_id
-
(Required) WP Post ID of the earned certificate.
- $use_cache
-
(Optional) If true will check for existence of a cached version of the file first.
Default value: false
Return Return
(mixed) WP_Error or full path to the generated export.
Source Source
File: includes/class.llms.certificates.php
Changelog Changelog
Version | Description |
---|---|
3.18.0 | Introduced. |