How to manage a user's profile
To let users update their own profile with an Advanced Forms form:
- Build a form with fields that match the user profile data you want exposed.
- Drop the form onto an account page with the
userarg set to"current":
[advanced_form form="YOUR_FORM_KEY_HERE" user="current"]On submit, Advanced Forms updates the currently logged-in user with the submitted values.
The same arg works on the function:
advanced_form( 'YOUR_FORM_KEY_HERE', [ 'user' => 'current' ] );