llms_certificate_content( LLMS_User_Certificate $certificate )
Loads the certificate content template.
Parameters Parameters
- $certificate
-
(LLMS_User_Certificate) (Required) Certificate object.
Return Return
(void)
Source Source
File: includes/functions/llms.functions.templates.certificates.php
function llms_certificate_content( $certificate ) {
$template = 1 === $certificate->get_template_version() ? 'content-legacy' : 'content';
llms_get_template(
"certificates/{$template}.php",
compact( 'certificate' )
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |