How to use “offset” to paginate get_users?

Is is possible to paginate the get_users function with the “offset” parameter?

I have complete my custom query of users for my list and now I need to paginate the results into multiple pages.

Here is my sample code:


    $args = array(
        'meta_key' => 'jabber',
        'meta_value' => 'User Name',
        'meta_compare' => 'LIKE',
        'order' => 'ASC',
        'count_total' => true,
        'fields' => 'all',

    $blogusers = get_users($args_1);
    foreach ($blogusers as $user) {

        $user_id = $user->ID; 
        $user = get_userdata($user_id);

          echo '<li class="provider-list prov-list-gradient">' . $user->display_name . '</li>';



If there’s anyone you can give some advice I would appreciate it.

Thanks in advanced.

Solutions Collecting From Web of "How to use “offset” to paginate get_users?"