I use "User Registration" plugin to create a registration form. Once the user has registered and logged in, I need to retrieve inside "Function.php" all his data that he completed in the registration form. I already tested wp_get_current_user() but it only return default fields...

1 Answer 1


Have you tried get_user_meta($user_id, $key, $single);?


  • 1
    thank you, I used the function this way: get_user_meta( get_current_user_id(), 'XXXXX', true ); Commented Oct 8, 2019 at 14:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.