LLMS_User_Achievement
LLMS_User_Achievement model.
Description Description
Source Source
File: includes/models/model.llms.user.achievement.php
Changelog Changelog
Version | Description |
---|---|
3.8.0 | |
3.18.0 | Introduced. |
Methods Methods
- delete — Delete the certificate
- get_earned_date — Retrieve the date the achievement was earned (created)
- get_image — Retrieve the image source for the achievement
- get_image_html — Retrieve the HTML for the achievement
- get_related_post_id — Get the WP Post ID of the post which triggered the earning of the achievement This would be a lesson, course, section, track, etc.
- get_user_id — Retrieve the user id of the user who earned the achievement
- get_user_postmeta — Retrieve user postmeta data for the achievement