LLMS_User_Certificate::get_related_post_id()
Get the WP Post ID of the post which triggered the earning of the certificate This would be a lesson, course, section, track, etc.
Description Description
..
Return Return
(int)
Source Source
File: includes/models/model.llms.user.certificate.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. |