Title: ACF: User Role Selector
Author: danielpataki
Published: <strong>February 2, 2014</strong>
Last modified: April 27, 2015

---

Search plugins

![](https://ps.w.org/acf-role-selector-field/assets/banner-772x250.png?rev=1140412)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/acf-role-selector-field/assets/icon-256x256.png?rev=1140412)

# ACF: User Role Selector

 By [danielpataki](https://profiles.wordpress.org/danielpataki/)

[Download](https://downloads.wordpress.org/plugin/acf-role-selector-field.zip)

 * [Details](https://test.wordpress.org/plugins/acf-role-selector-field/#description)
 * [Reviews](https://test.wordpress.org/plugins/acf-role-selector-field/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/acf-role-selector-field/#installation)
 * [Development](https://test.wordpress.org/plugins/acf-role-selector-field/#developers)

 [Support](https://wordpress.org/support/plugin/acf-role-selector-field/)

## Description

This plugin helps you out if you need to have the ability to select one or more 
user roles. Roles can be chosen with a select element (single or multiple choice),
checkboxes or radio buttons. Roles can be returned as a role name or a role object.

You also have the option of specifying allowed roles. This lets you control the 
roles users are allowed to select.

#### ACF Compatibility

This ACF field type is compatible with both _ACF 4_ and _ACF 5_.

#### Thanks

 * [Advanced Custom Fields](http://www.advancedcustomfields.com/) for the awesome
   base plugin.
 * [Umar Irshad](https://www.iconfinder.com/Umar) for the field icon.

## Installation

#### Automatic Installation

Installing this plugin automatically is the easiest option. You can install the 
plugin automatically by going to the plugins section in WordPress and clicking Add
New. Type “ACF Role Selector” in the search bar and install the plugin by clicking
the Install Now button.

#### Manual Installation

 1. Copy the `acf-role_selector-field` folder into your `wp-content/plugins` folder
 2. Activate the Role Selector plugin via the plugins admin page
 3. Create a new field via ACF and select the Role Selector type
 4. Please refer to the description for more info regarding the field type settings

## Reviews

![](https://secure.gravatar.com/avatar/e03f75aa94db1ec2def9174f14e7b2b89f819d867f1f1dc841b4c1fd5799e175?
s=60&d=retro&r=g)

### 󠀁[Reliable.](https://wordpress.org/support/topic/reliable-21/)󠁿

 [SMacEwan](https://profiles.wordpress.org/smacewan/) September 3, 2016

Works right out of the box. Works with both ACF and ACF Pro. It’s a little gem…

![](https://secure.gravatar.com/avatar/71fd8d9ce9b46d7ac64c9cf328cec0be0a7a5de618e275ac752e98ac2e70cb8d?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-2866/)󠁿

 [jonnyvaughan](https://profiles.wordpress.org/jonnyvaughan/) September 3, 2016

This is great for creating bespoke user login areas that you can restrict by user
role.

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/acf-role-selector-field/reviews/)

## Contributors & Developers

“ACF: User Role Selector” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ danielpataki ](https://profiles.wordpress.org/danielpataki/)

[Translate “ACF: User Role Selector” into your language.](https://translate.wordpress.org/projects/wp-plugins/acf-role-selector-field)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/acf-role-selector-field/),
check out the [SVN repository](https://plugins.svn.wordpress.org/acf-role-selector-field/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/acf-role-selector-field/)
by [RSS](https://plugins.trac.wordpress.org/log/acf-role-selector-field/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 3.0.2 (2015-04-27)

 * Fixed an error displayed in ACF 4 when returning roles as object

#### 3.0.1 (2015-04-21)

 * Fixed a typo which prevented checkbox fields from saving

#### 3.0.0 (2015-04-21)

 * Updated for WordPress 4.2
 * Complete rewrite of code documentation
 * Fixed a bug where an empty checkbox set would not save properly
 * Added hook to manipulate roles shown
 * Added Hungarian translation

#### 2.0.1

 * Updated for WordPress 4.1

#### 2.0

 * Added ACF 5 Support
 * Removed ACF 3 Support
 * Fixed an undefined variable error

#### 1.0

 * Initial Release.

## Meta

 *  Version **3.0.2**
 *  Last updated **11 years ago**
 *  Active installations **700+**
 *  WordPress version ** 3.4 or higher **
 *  Tested up to **4.2.39**
 *  Language
 * [English (US)](https://wordpress.org/plugins/acf-role-selector-field/)
 * Tags
 * [acf](https://test.wordpress.org/plugins/tags/acf/)[custom fields](https://test.wordpress.org/plugins/tags/custom-fields/)
 *  [Advanced View](https://test.wordpress.org/plugins/acf-role-selector-field/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/acf-role-selector-field/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/acf-role-selector-field/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/acf-role-selector-field/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/acf-role-selector-field/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/acf-role-selector-field/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/acf-role-selector-field/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/acf-role-selector-field/reviews/)

## Contributors

 *   [ danielpataki ](https://profiles.wordpress.org/danielpataki/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/acf-role-selector-field/)