A field for Advanced Custom Fields which allows you to select one or more user roles
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.
This ACF field type is compatible with both ACF 4 and ACF 5.
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.
acf-role_selector-field
folder into your wp-content/plugins
folder