To make registration more convenient for our clients, we made modifications to your code, adding the ability to generate and copy passwords: https://prnt.sc/A_33c8epJHGL
However, every time we update the plugins, these changes are erased. How can we ensure that these modifications are preserved?
could not understand you question , the same shortcode works for both its the registration shortcode settings you save in which applies the student role after registration and activation .
Hello,
To make registration more convenient for our clients, we made modifications to your code, adding the ability to generate and copy passwords: https://prnt.sc/A_33c8epJHGL
However, every time we update the plugins, these changes are erased. How can we ensure that these modifications are preserved?
Here is the path where the changes we made are located: https://prnt.sc/RbtWszPWNUbF
easy to do it copy our custom registration form code and create your own shortcode from it .
and make the changes , add the code in any plugin you like .
it will work and the changes will remain even updating it.
Where can we find your special registration form code? And where should we add the custom code we created?
you can add your custom shortcode you created in wplms customizer plugin : How to add code in wplms customizer plugin
the same place you edited the form .
copy the shortcode and rename the shortcode : https://www.elegantthemes.com/blog/tips-tricks/how-to-create-shortcodes-in-wordpress
https://codex.wordpress.org/Shortcode_API
Thank you!
Please also advise, what is the difference between the registration form for a student and an instructor?
could not understand you question , the same shortcode works for both its the registration shortcode settings you save in which applies the student role after registration and activation .