count_users example

 else {
            $url = 'users.php';
        }

        $role_links  = array();
        $avail_roles = array();
        $all_text    = __( 'All' );

        if ( $count_users ) {
            if ( $this->is_site_users ) {
                switch_to_blog( $this->site_id );
                $users_of_blog = count_users( 'time', $this->site_id );
                restore_current_blog();
            } else {
                $users_of_blog = count_users();
            }

            $total_users = $users_of_blog['total_users'];
            $avail_roles =& $users_of_blog['avail_roles'];
            unset( $users_of_blog );

            $all_text = sprintf(
                /* translators: %s: Number of users. */
                
Home | Imprint | This part of the site doesn't use cookies.