LLMS_Certificates::trigger_engagement( int $person_id,  $certificate_id, int $related_post_id )

Award a certificate to a user Calls trigger method passing arguments


Description Description


Parameters Parameters

$person_id

(int) (Required) [ID of the current user]

$achievement

(int) (Required) [Achievement template post ID]

$related_post_id

(int) (Required) Post ID of the related engagement (eg lesson id)


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class.llms.certificates.php

	public function trigger_engagement( $person_id, $certificate_id, $related_post_id ) {
		$certificate = $this->certs['LLMS_Certificate_User'];
		$certificate->trigger( $person_id, $certificate_id, $related_post_id );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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