LLMS_User_Certificate::get_related_post_id()

Get the WP Post ID of the post which triggered the earning of the certificate


Description Description

This would be a lesson, course, section, track, etc…


Top ↑

Return Return

(int)


Top ↑

Source Source

File: includes/models/model.llms.user.certificate.php

	 * @since 6.0.0
	 *
	 * @return int|false Returns the awarded certificate sequenatial id.
	 *                   Returns false if the awarded certificate has no parent template.

Top ↑

Changelog Changelog

Changelog
Version Description
4.5.0 Force return to an integer.
3.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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