llms_get_certificate_preview( LLMS_User_Certificate $certificate )

Get the content of a single certificates


Parameters Parameters

$certificate

(LLMS_User_Certificate) (Required) Instance of an LLMS_User_Certificate.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/functions/llms.functions.templates.certificates.php

function llms_get_certificate_preview( $certificate ) {

	ob_start();

	llms_get_template(
		'certificates/preview.php',
		array(
			'certificate' => $certificate,
		)
	);

	return ob_get_clean();

}


Top ↑

Changelog Changelog

Changelog
Version Description
3.14.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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