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


Top ↑

Return Return

(mixed) WP_Error or full path to the generated export.


Top ↑

Source Source

File: includes/class.llms.certificates.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.18.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.