Title: Adding Custom User Data
Last modified: September 1, 2016

---

# Adding Custom User Data

 *  [finaris11](https://wordpress.org/support/users/finaris11/)
 * (@finaris11)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/adding-custom-user-data/)
 * Hello!
 * I’m wondering if there’s way to add new user data variables after account creation.
   For instance, I have a page that only users can access, and wish to create an
   option between two radio buttons, after which a user can submit and the data 
   is stored per user. I’m trying to implement this in-page, but can’t figure out
   the PHP to use or if there exists a plugin to do this.
 * Thank you!

Viewing 1 replies (of 1 total)

 *  [clambelet](https://wordpress.org/support/users/clambelet/)
 * (@clambelet)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/adding-custom-user-data/#post-7668878)
 * Hi!
 * To add new user data, you can use the [update_user_meta](https://codex.wordpress.org/Function_Reference/update_user_meta)
   function. You retrieve the data with [get_user_meta](https://codex.wordpress.org/Function_Reference/get_user_meta)
 * You have a step-by-step guide in [Working with user metadata](https://developer.wordpress.org/plugins/users/working-with-user-metadata/)
 * Hope this help

Viewing 1 replies (of 1 total)

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [clambelet](https://wordpress.org/support/users/clambelet/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/adding-custom-user-data/#post-7668878)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
