User role not really added
-
Hello,
it looks like the plugin doesn’t really add any user role, does it?
I’ve checked the code, and I see that you provide the filter ‘b2bking_use_wp_roles’ for really adding the user roles, but even returning true from that filter I don’t see any added user roles.
Do you manage the roles with user post meta or in other non-standard ways?When I say user role I mean the standard WordPress user role added using the function add_role.
Why don’t you manage the roles with the standard WordPress roles?
In my case, I need to deactivate specific plugins by user role with Freesoul Deactivate Plugins PRO, so FDP needs to know the user role added by your plugin, but I suppose in many other cases other plugins may need to detect the user role.
If you confirm that you don’t manage the user role using the standard WP roles, I strongly suggest you do it, in another case you will have a lot of conflicts with other plugins.
If you have no other possibilities, please let me know how you are managing the roles.Many thanks in advance.
Best regardsJose
- The topic ‘User role not really added’ is closed to new replies.