Filter User.php using Custom Roles
-
Hi,
I currently use the latest version of User Role Editor and I have generated a number of custom roles which are displayed under the user.php page as separate roles as expected.
However I would like it so that when a certain role is signed in they can only see that role’s users on the user.php (for example – signed in as a customer they can only see other customers). I appreciate that this can be achieved by role (?role=distributor) however I would like it to filter the all listing as well.
I appreciate that this maybe outside of the plugin, however I would greatly appreciate support with this to allow both the plugin and core system to work together.
Thank you in advance,
Sam
The topic ‘Filter User.php using Custom Roles’ is closed to new replies.