Title: User Data Export
Last modified: January 28, 2024

---

# User Data Export

 *  [shreyal](https://wordpress.org/support/users/shreyal/)
 * (@shreyal)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/user-data-export-2/)
 * Please provide me a code through which I can export the user directory as csv
   or xlsx file. I really need it badly.
 * Also tell me where does the user directory’s data is stored? If it is stored 
   in phpmyadmin what’s the table name. If, any other place tell me about that.
    -  This topic was modified 2 years, 3 months ago by [shreyal](https://wordpress.org/support/users/shreyal/).

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

 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/user-data-export-2/#post-17379049)
 * [@shreyal](https://wordpress.org/support/users/shreyal/)
 * 1. There are other WP plugins for exporting User metadata in CSV format like
 * “WP All Export” [https://wordpress.org/plugins/wp-all-export/](https://wordpress.org/plugins/wp-all-export/)
   
   Required add-on [https://wordpress.org/plugins/export-wp-users-xml-csv/](https://wordpress.org/plugins/export-wp-users-xml-csv/)
 * 2. You will find UM Form fields stored in the WP `usermeta` table.
 *  Thread Starter [shreyal](https://wordpress.org/support/users/shreyal/)
 * (@shreyal)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/user-data-export-2/#post-17384680)
 * In the UM Registration form I’ve a field with meta tag “city”. I want that field
   to be displayed in
 * [https://drive.google.com/file/d/14euP1qAEejm4uqiOf5W2SCgtgMPTHaof/view?usp=drivesdk](https://drive.google.com/file/d/14euP1qAEejm4uqiOf5W2SCgtgMPTHaof/view?usp=drivesdk)
 * somewhere in this page of all users. So, I can export that field data too using
   any third party plugin.
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/user-data-export-2/#post-17385712)
 * [@shreyal](https://wordpress.org/support/users/shreyal/)
 * You can try this code snippet which will add City to the WP User “Contact Info”
 *     ```
       add_filter( 'user_contactmethods', 'user_contactmethods_city', 10, 2 );
   
       function user_contactmethods_city( $methods, $user ) {
   
           $methods['city'] = 'City';
           return $methods;
       }
       ```
   
 * Install the code snippet into your active theme’s functions.php file
    or use 
   the “Code Snippets” plugin.
 * [https://wordpress.org/plugins/code-snippets/](https://wordpress.org/plugins/code-snippets/)
 *  [shryl](https://wordpress.org/support/users/shryl/)
 * (@shryl)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/user-data-export-2/#post-17395952)
 * [@missveronicatv](https://wordpress.org/support/users/missveronicatv/)
 * It will automatically put the data from the registration page to that field. 
   right?
 *  Plugin Support [andrewshu](https://wordpress.org/support/users/andrewshu/)
 * (@andrewshu)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/user-data-export-2/#post-17408311)
 * Hello [@shreyal](https://wordpress.org/support/users/shreyal/)
 * This thread has been inactive for a while so we’re going to go ahead and mark
   it Resolved.
 * Please feel free to re-open this thread if any other questions come up and we’d
   be happy to help. 🙂
 * Regards
 *  Thread Starter [shreyal](https://wordpress.org/support/users/shreyal/)
 * (@shreyal)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/user-data-export-2/#post-17408639)
 * [@andrewshu](https://wordpress.org/support/users/andrewshu/)
 * I haven’t yet got any solution for the last message. Why did you closed the thread??
 *  Thread Starter [shreyal](https://wordpress.org/support/users/shreyal/)
 * (@shreyal)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/user-data-export-2/#post-17408652)
 * [@missveronicatv](https://wordpress.org/support/users/missveronicatv/)
 * kindly clarify if the provided code will automatically put the field data into
   that contact info custom field.
    -  This reply was modified 2 years, 3 months ago by [shreyal](https://wordpress.org/support/users/shreyal/).
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/user-data-export-2/#post-17408875)
 * [@shreyal](https://wordpress.org/support/users/shreyal/)
 * It will display in the backend WP User edit page the current meta value of the
   meta_key `city`. You can make a test to verify.

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

The topic ‘User Data Export’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

## Tags

 * [ultimate members](https://wordpress.org/support/topic-tag/ultimate-members/)

 * 8 replies
 * 4 participants
 * Last reply from: [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/user-data-export-2/#post-17408875)
 * Status: not resolved