• Resolved esm2010

    (@esm2010)


    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, 1 month ago by esm2010.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor genetech

    (@genetech)

    Hi,

    If you want help in how to create shortcode, please check the link below:

    How to Add A Shortcode in WordPress?

    Let us know, if you need more help.

    Thanks,

    Best,

    Thread Starter esm2010

    (@esm2010)

    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

    (@genetech)

    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.

    Best,

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

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