Title: Change CSV export separators
Last modified: July 29, 2022

---

# Change CSV export separators

 *  [pierret76](https://wordpress.org/support/users/pierret76/)
 * (@pierret76)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/change-csv-export-separators/)
 * Hello,
 * I’m searching to change the CSV separator used when I export users but I haven’t
   found a solution. I would like to know if this is possible, and if it’s not, 
   could you please add this feature ? I think it would be very simple, I’ve located
   the line to modify :
 * `fputcsv( $handle, $row );` wp-members/includes/admin/class-wp-members-user-export.
   php (line 251)
 * Replaced by :
 *     ```
       $separator = ',';
        $separator = apply_filters('wpmem_user_export_separator', $separator);
   
        fputcsv($handle, $row, $separator);
       ```
   
 * Thanks by advance for your answer !
    -  This topic was modified 3 years, 10 months ago by [pierret76](https://wordpress.org/support/users/pierret76/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/change-csv-export-separators/#post-15870626)
 * I’m open to adding the ability to customize the separator, but it will likely
   be something added to the existing filter for the export setup (“wpmem_export_args”).
   I have added it to the list for review and I’ll make a decision on how it will
   be included in the next release.
 * I don’t normally suggest hacking the code as that will be overwritten in an update(
   among other reasons). However, if you need to do something in the short term,
   that’s your option. Whatever the change is for inclusion, it will be noted in
   the release notes of the update it’s included in.
 *  Thread Starter [pierret76](https://wordpress.org/support/users/pierret76/)
 * (@pierret76)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/change-csv-export-separators/#post-15871118)
 * Hi Chad,
 * Thanks for your answer and adding this new feature ! I think it will be very 
   useful for some people.
 * I will overwrite the file while waiting for the new release to come out.
 * Have a good day.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Change CSV export separators’ is closed to new replies.

 * ![](https://ps.w.org/wp-members/assets/icon-256x256.png?rev=1226414)
 * [WP-Members Membership Plugin](https://wordpress.org/plugins/wp-members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-members/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-members/reviews/)

## Tags

 * [csv](https://wordpress.org/support/topic-tag/csv/)
 * [export](https://wordpress.org/support/topic-tag/export/)
 * [separator](https://wordpress.org/support/topic-tag/separator/)

 * 2 replies
 * 2 participants
 * Last reply from: [pierret76](https://wordpress.org/support/users/pierret76/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/change-csv-export-separators/#post-15871118)
 * Status: not resolved