The native WP Author Metabox has been replaced with an Ajax version allowing to manage thousands of users without slowing down the post administration. The new Author box also include an inline search input.
The Ajax Author Box follows the native WordPress Author Box behavior and display User roles with at least level_1
capability (authors). See documentation.
It is possible the customize the Ajax Query using the acf/fields/user/query
filter. See the WP User Query documentation to get the list of all available parameters. Usage example:
add_filter('acf/fields/user/query/name=acfe_author', 'my_acf_author_args', 10, 4);
function my_acf_author_args($args, $field, $post_id){
// Allow 'Subscriber' Role
$args['role__in'][] = 'subscriber';
// Include only specific users
$args['include'] = array(16, 22, 58);
return $args;
}
This module is enabled by default. To disable it, you can use the following code:
add_action('acf/init', 'my_acfe_modules');
function my_acfe_modules(){
// Disable Ajax Author box
acfe_update_setting('modules/author', false);
// Or:
acf_update_setting('acfe/modules/author', false);
}