Fill in logged in user details
I would like to pre-fill in logged in user details (name and email) rather than previously entered details. Is this possible in the settings? Or if not, which section of the plugin deals with the generation of the form fields where I can add my custom code.
Thanks!
2 Answers
It's not working in the comments... this is what I wanted to add:
value="<?php echo $user_email; ?>"
Please login or Register to submit your answer
so I found generate_custom fields($meta) function in the src -> frontend.php file. Inside, there is $email = ($item -> validation == ’email’) etc. I take it this is just the validation of the email, but I cannot find where you actually populate the email field. If I could find that, I would be able to do something like this: value=””
Thanks!
something like this: value= ”