LLMS_Notification_Controller_Certificate_Earned::action_callback( int $user_id = null, int $certificate_id = null, int $related_post_id = null )
Callback function, called upon certificate post generation
Description Description
Parameters Parameters
- $user_id
-
(Optional) WP User ID of the user who earned the certificate
Default value: null
- $certificate_id
-
(Optional) WP Post ID of the new achievement post
Default value: null
- $related_post_id
-
(Optional) WP Post ID of the post which triggered the certificate to be awarded
Default value: null
Return Return
(void)
Source Source
File: includes/notifications/controllers/class.llms.notification.controller.certificate.earned.php
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |