Add Captcha

To override the code of Tutor LMS and place Google Captcha verification on the student registration page, you need to follow this tutorial.

This documentation uses the template override method. To know more details about the template override process, please have a look at the template override documentation.

  1. Copy the templates folder from Tutor LMS to your child theme and rename it to tutor.
    The templates folder can be found at wp-content/plugins/tutor/

    Most of the theme vendors provide child themes in the package. If you do not have one and do not know how to create then you can search in Google or YouTube “how to create a child theme wordpress”.
  2. Now open the file located at yourchildtheme/tutor/dashboard/registration.php and place the Google Captcha code there.
  3. To add Google Captcha to the instructor registration page you need to go to this path yourchildtheme/tutor/dashboard/instructor/registration.php

To know how to embed Captcha verification code follow these links

  1. https://developers.google.com/recaptcha/docs/v3
  2. https://www.youtube.com/watch?v=AuWsUDaOQdM
  3. https://developers.google.com/recaptcha/docs/display
  4. https://stackoverflow.com/questions/41079335/implement-the-new-invisible-recaptcha-from-google/41310974#41310974

Was this helpful?