llms_certificate_content( LLMS_User_Certificate $certificate )

Loads the certificate content template.


Parameters Parameters

$certificate

(LLMS_User_Certificate) (Required) Certificate object.


Top ↑

Return Return

(void)


Top ↑

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' )
	);
}


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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