LLMS_Achievement_User
LLMS_Achievement_User class
Description Description
Source Source
File: includes/achievements/class.llms.achievement.user.php
Changelog Changelog
Version | Description |
---|---|
3.30.3 | Explicitly define undefined properties. |
3.24.0 | Unknown. |
3.17.4 | Unknown. |
1.0.0 | Introduced. |
Methods Methods
- __construct — Constructor
- get_content_html — Gets post content and replaces merge fields with user meta-data
- has_user_earned — Check if the user has already earned this achievement used to prevent duplicates
- init — Initializes all of the variables needed to create the achievement post.
- trigger — Creates new instance of WP_User and calls parent method create