A SnippetClub member was looking for a way to dynamically populate users profile update form
. The following snippet allows you to set the field values and map them to the address field.
Snippet
Place the snippet below into functions.php or code snippet plugin.
Make sure you update:
- Line 4 – Form ID
- Line 5 – Field attribute name