Custom certifcate codes and verification

1. Use the Filter : wplms_certificate_code to encrypt the certificate code. For example , add following code in the functions.php file in your child theme.

PHP Code:

2. Use the filters to decode the code and get the certificate template id, user id and course id of the certificate, code to be added in functions.php :

PHP Code:

 

Was this article helpful?

Related Articles