apply_filters( 'llms_certificate_merge_data', array $codes, int $user_id, int $template_id, int $related_id )

Filters the certificate merge data.

Parameters Parameters


(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'.


(int) WP User ID of the user who earned the certificate.


(int) WP_Post ID of the certificate template.


(int) WP Post ID of the post which triggered the certificate to be awarded.

Top ↑

Source Source

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

View on GitHub

Top ↑

Changelog Changelog

Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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