Title: Profile data
Last modified: March 16, 2019

---

# Profile data

 *  Resolved [esm2010](https://wordpress.org/support/users/esm2010/)
 * (@esm2010)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/profile-data/)
 * Hi friends, I’d like to use a specific custom user data that I created in registration
   form in other PHP page.
 * I’m wondering to create a shortcode.
 * What is the variable can I use to do it?
 * Could you help me?
    -  This topic was modified 7 years, 2 months ago by [esm2010](https://wordpress.org/support/users/esm2010/).

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

 *  Plugin Contributor [genetech](https://wordpress.org/support/users/genetech/)
 * (@genetech)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/profile-data/#post-11324642)
 * Hi,
 * If you want help in how to create shortcode, please check the link below:
 * [How to Add A Shortcode in WordPress?](https://www.wpbeginner.com/wp-tutorials/how-to-add-a-shortcode-in-wordpress/)
 * Let us know, if you need more help.
 * Thanks,
 * Best,
 *  Thread Starter [esm2010](https://wordpress.org/support/users/esm2010/)
 * (@esm2010)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/profile-data/#post-11325837)
 * Hi, thanks for your reply.
 * I know how create shortcodes, I meant which variable to get user data created
   from pie-register.
 * For deafault field I got with: “<? echo $current_user->pie_text_XX;”?>
 * But how can I get the invitation field used for a user?
 * I tried: <? echo $current_user->pie_invitation_XX;”?> but no success.
 *  Plugin Contributor [genetech](https://wordpress.org/support/users/genetech/)
 * (@genetech)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/profile-data/#post-11330397)
 * Hi,
 * Try this:
 * get_user_meta($current_user->ID, ‘text_5’, true);
 * instead of text_5, used PR field name.
 * More about get_user_meta(), click [here](https://codex.wordpress.org/Function_Reference/get_user_meta).
 * Best,

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

The topic ‘Profile data’ is closed to new replies.

 * ![](https://ps.w.org/pie-register/assets/icon-256x256.png?rev=2467686)
 * [Pie Register – User Registration, Profiles & Content Restriction](https://wordpress.org/plugins/pie-register/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pie-register/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pie-register/)
 * [Active Topics](https://wordpress.org/support/plugin/pie-register/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pie-register/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pie-register/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [genetech](https://wordpress.org/support/users/genetech/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/profile-data/#post-11330397)
 * Status: resolved