apply_filters( 'llms_certificate_merge_data', array $codes , int $user_id , int $template_id , int $related_id )
Filters the certificate merge data.
Parameters Parameters
- $codes
-
(array) Merge codes and data.
- 'code'
(string) The merge code. E.g. {first_name}. - 'data'
(int|string|bool) The merga data to replace the merge code with. E.g. 'Dude'.
- 'code'
- $user_id
-
(int) WP User ID of the user who earned the certificate.
- $template_id
-
(int) WP_Post ID of the certificate template.
- $related_id
-
(int) WP Post ID of the post which triggered the certificate to be awarded.
Source Source
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |