Title: Get UR fields programaticly?
Last modified: May 27, 2020

---

# Get UR fields programaticly?

 *  Resolved [danielmunch](https://wordpress.org/support/users/danielmunch/)
 * (@danielmunch)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/get-ur-fields-programaticly/)
 * Hi,
 * How do I access the values stored by UR in my code?
 * I have been searching all through my MySql database and through your sourcecode,
   and I simply cannot find either where its stored, or how to access it. wp_users
   does not contain ie. firstname, lastname, but somehow it is shown in your plugin
   after the user is created.
 * Please help.
 * —
    Ie. $v1 = wp_get_current_user(); only gives me default user info from the 
   database. Not what I can see in your plugin like firstname, lastname ect.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fget-ur-fields-programaticly%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [danielmunch](https://wordpress.org/support/users/danielmunch/)
 * (@danielmunch)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/get-ur-fields-programaticly/#post-12903639)
 * Still struggle with this, let me know if you have any input. Thanks
 *  Thread Starter [danielmunch](https://wordpress.org/support/users/danielmunch/)
 * (@danielmunch)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/get-ur-fields-programaticly/#post-12907305)
 * Seems I misunderstood how to use the wp_usermeta table. The data is indeed there,
   and I should be able to fetch it using default wp syntax. Setting this post to
   resolved.
 *  [daiwebb](https://wordpress.org/support/users/daiwebb/)
 * (@daiwebb)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/get-ur-fields-programaticly/#post-12908412)
 * How did you do it? I’d like to retrieve some of the UR data in another plugin(
   Contact Form 7).

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

The topic ‘Get UR fields programaticly?’ is closed to new replies.

 * ![](https://ps.w.org/user-registration/assets/icon-256x256.gif?rev=3284028)
 * [User Registration & Membership - Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder](https://wordpress.org/plugins/user-registration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-registration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-registration/)
 * [Active Topics](https://wordpress.org/support/plugin/user-registration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-registration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-registration/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [daiwebb](https://wordpress.org/support/users/daiwebb/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/get-ur-fields-programaticly/#post-12908412)
 * Status: resolved