Pre-populate field with user data

This topic contains 1 reply and 2 voices, and was last updated by Tareq Hasan 10 years, 8 months ago
Viewing 1 Posts - 1 through 1 (of 1 total)
Author Posts
July 25, 2013 at 3:44 am 6298
Tareq Hasan I may be overlooking this, but is there an easy way to pre-populate fields? I essentially want to pre-populate the logged in user's name and email address. I've done this before via gravity forms where you add a field to the form and then write a function and add a filter to populate it. Is there a way to accomplish the same thing with WP User Frontend? I'm thinking maybe this is where hooks come in? Thanks!
July 25, 2013 at 4:04 am 6299
Tareq Hasan Tareq Hasan

You can put some default value in a field, but the one you are talking about is not static data. It would be dynamic. So, no! This one can’t pre-populate the form like gravity form does.

Using hooks you can do that, but that will require to add the input box too.

Viewing 1 Posts - 1 through 1 (of 1 total)