How to add a custom merge code for a Certificate
If you have extra data you want to add to a certificates, for example in a custom bit of user metadata, this can be done with a combination of the llms_certificate_available_merge_codes and llms_certificate_merge_data filters.
For example, adding the title of the associated course, if the certificate was generated via a course completion:


