bbPress Login – WP User Roles
I am modifying a site to enable this simple snippet of code to the bbPress login Widget. Once a user is logged in, I would like to check the user’s role (WordPress Role: admin, editor, author) and allow only those three access to the site’s dashboard by simply displaying the link there. I do not know how to translate the bbPress roles to the WordPress roles.
Any insight would be most appreciated.
Thank you in advance.
- You must be logged in to reply to this topic.