LLMS_User_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.
Description Description
..
Return Return
(int)
Source Source
File: includes/models/model.llms.user.achievement.php
public function get_related_post_id() { $meta = $this->get_user_postmeta(); return $meta->post_id; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: