User Role Editor
Possible to use these new Roles.... (2 posts)

  1. bonelifer
    Posted 5 years ago #

    Is it possible to use these new roles in code. For instance I use a plugin that uses AUTH hooks to bridge my forum users to WP. When they login and the info matches a forum users credentials(ie username & password), it copies some info over and uses the code below to set their role. Would it be possible to use one of the new roles created with this plugin in place of 'default_role'.



  2. Vladimir Garagulya
    Plugin Author

    Posted 5 years ago #

    I think - Yes, it is possible. New created role has no any differences in realization from any standard WP roles.
    Just try it, I hope something as:
    will work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User Role Editor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic