Generate a user list per site to communicate upgrade plans
This should do the trick. Read along with the comments for some explanation. // get users with specified roles — this can go in functions function get_users_with_role( $roles ) { global $wpdb; if ( ! is_array( $roles ) ) $roles = array_walk( explode( “,”, $roles ), ‘trim’ ); $sql=” SELECT ID FROM ” . $wpdb->users … Read more