List All Available wordpress Roles

Go to source

From: wpsnipp.com
By:

Here is a snippet showing how to list all available roles. I recently used this snippet to add a role selector in the registration page. You could also use it for user searches, or post filters.

link: List All Available wordpress Roles


List All Available wordpress Roles is a post from: wpsnipp.comWordPress Snippets, Code, Hacks, 615+ for your wordpress theme or blog.