Hi, How can I export a csv file that will include a collum stating the user role or even better users in tabs based on role?
Regards,
Andric
Hi, How can I export a csv file that will include a collum stating the user role or even better users in tabs based on role?
Regards,
Andric
Hello. This may be too late for you, but I was able to user the plugin editor to add those capabilities. Basically, replace the "if admin" line with "if" whatever user level you want.
The actual listing and function of the plugin is based on two later lines in the plugin which ask if the user has the capability to "edit_users." Just search for this line, and change the conditional as you need to.
For my purposes, I assigned the ability to "list_users" to my target user role because that's what they're essentially using the plugin for, then I replaced the "edit_users" references in the plugin with "list_users." It seemed to work OK for me.
Just make a note to never accidentally update your plugin, or remove the updater on that plugin altogether.
You must log in to post.