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)


Top ↑

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;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.8.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.