llms_get_achievement( LLMS_User_Achievement $achievement )

Get the content of a single achievement


Parameters Parameters

$achievement

(LLMS_User_Achievement) (Required) Instance of an LLMS_User_Achievement.


Top ↑

Return Return

(void)


Top ↑

Source Source

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

function llms_get_achievement( $achievement ) {

	ob_start();

	llms_get_template(
		'achievements/template.php',
		array(
			'achievement' => $achievement,
		)
	);

	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.