LLMS_Certificates::trigger_engagement( int $person_id, int $certificate_id, int $related_post_id )
Award a certificate to a user.
Description Description
Calls trigger method passing arguments
Parameters Parameters
- $person_id
-
(Required) WP_User ID.
- $certificate_id
-
(Required) WP_Post ID of the certificate template.
- $related_post_id
-
(Required) WP_Post ID of the related post, for example a lesson id.
Return Return
(void)
Source Source
File: includes/class.llms.certificates.php
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |