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.
Return Return
(void)
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(); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.14.0 | Introduced. |