Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Certificates::scrape_certificate( int $certificate_id )
Scrape a LifterLMS Certificate permalink and return the generated HTML.
Description Description
Parameters Parameters
- $certificate_id
-
(Required) WP_Post ID of the earned certificate (an "llms_my_certificate" post).
Return Return
(WP_Error|string) WP_Error on failure or the full page HTML on success.
Source Source
File: includes/class.llms.certificates.php
Changelog Changelog
Version | Description |
---|---|
3.37.3 | Introduced. |