Sensei LMS Certificates

Award your students with a certificate of completion and a sense of accomplishment after finishing a course.

Filter for customizable fields on certificate

Hi, we love the plugin and use it on some clients’ sites. One feature we have used on a client’s site is the ability to add custom fields on a certifcate through the use of a ‘filter’. The only way we’ve been able to get this to work unfortunately is to edit the core plugin code on the sites so it would be great if the feature is something you would consider adding to the plugin.

We have added a line of code to line 925 of classes/class-woothemese-sensei-certificates.php and line 512 of classes/class-woothemes-sensei-certificate-templates.php see screenshots below (the lines are slightly different):

https://snipboard.io/AIDKhL.jpg
https://snipboard.io/AtvyqJ.jpg

We then change the $$meta_key in call_user_func_array to $value.

Once that’s set, we can use filters to add whatever custom template fields we want. Example:

https://snipboard.io/g4c9yt.jpg

Thanks!

Screenshots

Author

Matt Miller

Current Status

Open

Last updated: January 31, 2023

0 comments

Log in to comment on this feature request.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.