LMS: How to Add-Delete Role values in registration

If you are using the following option for the registration page options from Buddha panel options,

  • LMS theme – default profile
  • LMS theme – Buddypress profile

Remove the role

You can remove the teacher role on the role field under the registration form from the file wp-content/themes/lms/tpl-login.php line no: 116

If you are using other 3 values,

  • WordPress Default
  • WooCommerce Plugin
  • s2Member Plugin

Remove the role

You can remove the teacher role on the role field under the registration form from the file wp-content/plugins/designthemes-core-features/functions.php line no:45.

How to add new role

If you need to add any new roles, then you need to follow the method that we have used for the teacher role as shown in the image and edit the capabilities as per your needs.

Leave A Comment?

This site uses Akismet to reduce spam. Learn how your comment data is processed.