Hot answers tagged

1

As of WordPress 4.4.0 you can now use the wp_dropdown_users_args filter. The code is much simpler now: add_filter( 'wp_dropdown_users_args', 'add_subscribers_to_dropdown', 10, 2 ); function add_subscribers_to_dropdown( $query_args, $r ) { $query_args['who'] = ''; return $query_args; }


1

As I was migrating from a multisite install, the problem was due to the fact that roles are named based on table names. So I solved my problem when I named option wp_7_user_roles to wp_user_roles.



Only top voted, non community-wiki answers of a minimum length are eligible