Title: LH Export Users to CSV
Author: shawfactor
Published: <strong>2019 年 5 月 4 日</strong>
Last modified: 2022 年 7 月 31 日

---

搜索插件

![](https://ps.w.org/lh-export-users-to-csv/assets/banner-772x250.jpg?rev=2080459)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/lh-export-users-to-csv/assets/icon-256x256.png?rev=2080459)

# LH Export Users to CSV

 作者：[shawfactor](https://profiles.wordpress.org/shawfactor/)

[下载](https://downloads.wordpress.org/plugin/lh-export-users-to-csv.zip)

 * [详情](https://cn.wordpress.org/plugins/lh-export-users-to-csv/#description)
 * [评价](https://cn.wordpress.org/plugins/lh-export-users-to-csv/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/lh-export-users-to-csv/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/lh-export-users-to-csv/#developers)

 [支持](https://wordpress.org/support/plugin/lh-export-users-to-csv/)

## 描述

Export Users to CSV Plugin allows you to export users list and their metadata in
CSV file. The CSV includes all the core wordpress user data, as well as the important
meta fields, including:

 1. Username
 2. Email
 3. Display Name
 4. First Name
 5. Last Name
 6. Registered Date

This plugin, is deliberately simple, but it is also standards compliant, extendable,
and built to maximise data security

**Like this plugin? Please consider [leaving a 5-star review](https://wordpress.org/support/view/plugin-reviews/lh-export-users-to-csv/).**

**Love this plugin or want to help the LocalHero Project? Please consider [making a donation](https://lhero.org/portfolio/lh-export-users-to-csv/).**

## 安装

 1. Upload the entire `lh-export-users-to-csv` folder to the `/wp-content/plugins/`
    directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Navigate to Users->Export Users and click the button, that simple!

## 常见问题

### How do you export users?

 1. Fo to Tools in the wordpress admin menu
 2. Click the Generate Report in the Download your Users section

### Why did you write this plugin?

I wrote this plugin because I wanted a plugin that:
 1. Generated the csv dynamically,
to ensure the security of my users data. 2. Used wordpress apis to generate the 
csv data, to ensure that it was the actual data I wanted (rather than querying the
database directly as some plugins do).

### How do I add fields to the download?

The plugin includes a filter called `lh_eutc_headings`, simply add the meta field
to the headings array by use of this filter e.g.:

### What is something does not work?

LH Logged In Post Status, and all [https://lhero.org](https://cn.wordpress.org/plugins/lh-export-users-to-csv/LocalHero?output_format=md)
plugins are made to WordPress standards. Therefore they should work with all well
coded plugins and themes. However not all plugins and themes are well coded (and
this includes many popular ones).

If something does not work properly, firstly deactivate ALL other plugins and switch
to one of the themes that come with core, e.g. twentyfifteen, twentysixteen etc.

If the problem persists pleasse leave a post in the support forum: [https://wordpress.org/support/plugin/lh-export-users-to-csv/](https://wordpress.org/support/plugin/lh-export-users-to-csv/).
I look there regularly and resolve most queries.

### What if I need a feature that is not in the plugin?

Please contact me for custom work and enhancements here: [https://shawfactor.com/contact/](https://shawfactor.com/contact/)

    ```
    function my_csv_filter_function($headings){

    $headings[] = 'street_address';    

    return $headings;

    }

    add_filter('lh_eutc_headings', 'my_csv_filter_function', 10, 1);
    ```

## 评价

![](https://secure.gravatar.com/avatar/924a891167f079ac894bf0118f53988dc07608ed32b1f89d8655ffae5de81d2e?
s=60&d=retro&r=g)

### 󠀁[Works as it should](https://wordpress.org/support/topic/works-as-it-should-83/)󠁿

 [linda2020](https://profiles.wordpress.org/linda2020/) 2020 年 3 月 6 日

Great, works as it should. I’m using it with BuddyPress, I mainly wanted to get 
the registration date and the ID. Would have been awesome to also get the field ‘
last activity’, ‘number of friends’ and ‘number of groups’:)

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/lh-export-users-to-csv/reviews/)

## 贡献者及开发者

「LH Export Users to CSV」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

[帮助将「LH Export Users to CSV」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/lh-export-users-to-csv)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/lh-export-users-to-csv/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/lh-export-users-to-csv/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/lh-export-users-to-csv/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/lh-export-users-to-csv/)。

## 更新日志

**1.00 May 02, 2019**
 Initial release.

## 额外信息

 *  版本 **1.00**
 *  最后更新：**4 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.0.12**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/lh-export-users-to-csv/)
 * 标签
 * [csv](https://cn.wordpress.org/plugins/tags/csv/)[export users](https://cn.wordpress.org/plugins/tags/export-users/)
   [reports](https://cn.wordpress.org/plugins/tags/reports/)[user export](https://cn.wordpress.org/plugins/tags/user-export/)
   [users](https://cn.wordpress.org/plugins/tags/users/)
 *  [高级视图](https://cn.wordpress.org/plugins/lh-export-users-to-csv/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/lh-export-users-to-csv/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/lh-export-users-to-csv/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/lh-export-users-to-csv/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/lh-export-users-to-csv/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/lh-export-users-to-csv/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/lh-export-users-to-csv/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/lh-export-users-to-csv/reviews/)

## 贡献者

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/lh-export-users-to-csv/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://lhero.org/portfolio/lh-export-users-to-csv/)