Skip to content
Hookturn Hookturn Docs

How to manage a user's profile

To let users update their own profile with an Advanced Forms form:

  1. Build a form with fields that match the user profile data you want exposed.
  2. Drop the form onto an account page with the user arg 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' ] );