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,
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.
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,