Integration with User Role Editor
-
Hi,
I am the author of a plugin called Frontier Post, and one of my users has a couple of questions relating to both plugins working together:
Is it possible in User Role Editor to create and maintain capabilities from other plugins. I have added own capabilities to wordpress capabilities ex: frontier_post_can_edit ?
In that case I would implement a setting where I disable these capabilities, so the can be set in User Role Editor insteadSecond thing: do you expose a function that returns the active profile for a user, so it can be used from another plugin ?
Ex:if (function_exists("usr_current_role")) $current_role = usr_current_role($userid);
Original support case: https://www.ads-software.com/support/topic/how-to-assign-a-category-without-user-selection?replies=8
- The topic ‘Integration with User Role Editor’ is closed to new replies.