Update user action

This action lets you update a user via the WordPress integration. Use it to automate you daily work ans save time and resources.

How to update a user

This section aims to help you getting started on how to update a user via WordPress. Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.

"Update user" arguments

Our so-called arguments are values that you can use to customize your request. They allow you to send specific data to the Update user action which is then handled accordingly to the described purpose. You can use the arguments that you would like to send values for.
To learn more about it, please see the Setup Guide above.
user_id

(Optional if user_email or user_login is defined) Include the numeric id of the user. (Note that the user_id has a higher priority than the user_email.)

user_email

(Optional if user_id or user_login is defined) Include the email correlated to the account.

user_login

(Optional if user_email or user_id is defined) A string with which the user can log in to your site. This value can also be used ot update a user.

first_name

The first name of the user.

last_name

The last name of the user.

nickname

The nickname. Please note that the nickname will be sanitized by WordPress automatically.

display_name

The name that will be seen on the frontend of your site.

user_nicename

A URL-friendly name. Default is user' username.

description

A description for the user that will be available on the profile page.

rich_editing

Wether the user should be able to use the Rich editor. Set it to "yes" or "no". Default "no".

user_registered

The date the user got registered. Date structure: Y-m-d H:i:s

user_url

Include a website url.

role

The main user role. If set, all additional roles are removed.

additional_roles

This allows to add/remove multiple roles on a user. For more information, please read the description.

user_pass

The user password. If not defined, we don't generate a new one.

user_meta

DEPRECATED! Please use manage_meta_data instead.

meta_update

Update (or add) meta keys/values.

manage_meta_data

In case you want to add more complex meta data, this field is for you. Check out some examples within our post meta blog post.

acf_meta_update

Update (or add) Advanced Custom Fields meta keys/values.

manage_acf_data

In case you want to add more complex Advanced Custom Fields data, this field is for you. Check out some examples within our post meta blog post.

send_email

Set this field to "yes" to send a email to the user with the data.

do_action

Advanced: Register a custom action after the plugin fires this webhook. More infos are in the description.

create_if_none

Wether you want to create the user if it does not exists or not. Set it to "yes" or "no" Default is "no".

wpwh_call_action

(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )

Connection examples

Get inspired on how to use the "Update user" action within our WordPress integrations. Down below you will find various examples with our other integrations.
When a form was submitted via The Forminator Logo for our WP Webhooks integration Forminator, update a user via The WordPress Logo for our integration WordPress.
When an action was fired via The WP Webhooks Logo for our WP Webhooks integration WP Webhooks, update a user via The WordPress Logo for our integration WordPress.
When a custom trigger was called via PHP via The WordPress Logo for our integration WordPress, update a user via The WordPress Logo for our integration WordPress.
When a product was added to the cart via The Woocommerce Logo for our integration WooCommerce, update a user via The WordPress Logo for our integration WordPress.
When a form was submitted via The Divi Logo for our WP Webhooks integration Divi, update a user via The WordPress Logo for our integration WordPress.
When a contact was removed from a list via The FluentCRM Logo for our WP Webhooks integration FluentCRM, update a user via The WordPress Logo for our integration WordPress.
When a payment was completed via The Gravityforms Logo for our integration Gravity Forms, update a user via The WordPress Logo for our integration WordPress.
When a tag was added via The WP Fusion Logo for our WP Webhooks integration WP Fusion, update a user via The WordPress Logo for our integration WordPress.
When a form was submitted via The Newsletter Logo for our WP Webhooks integration Newsletter, update a user via The WordPress Logo for our integration WordPress.
When a user unfollowed a user via The wpDiscuz Logo for our WP Webhooks integration wpDiscuz, update a user via The WordPress Logo for our integration WordPress.
When a membership was set to pending cancellation via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, update a user via The WordPress Logo for our integration WordPress.
When a coupon was restored via The Woocommerce Logo for our integration WooCommerce, update a user via The WordPress Logo for our integration WordPress.
When a comment was created via The WordPress Logo for our integration WordPress, update a user via The WordPress Logo for our integration WordPress.
When a user voted on a poll via The WP-Polls Logo for our WP Webhooks integration WP-Polls, update a user via The WordPress Logo for our integration WordPress.
When a user enrolled into a course via The WP Courseware Logo for our WP Webhooks integration WP Courseware, update a user via The WordPress Logo for our integration WordPress.
When a topic was unfavored via The bbPress Logo for our WP Webhooks integration bbPress, update a user via The WordPress Logo for our integration WordPress.
When a donation failed via The GiveWP Logo for our WP Webhooks integration GiveWP, update a user via The WordPress Logo for our integration WordPress.
When a form was submitted via The WS Form Logo for our WP Webhooks integration WS Form, update a user via The WordPress Logo for our integration WordPress.
When a new affiliate signed up via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, update a user via The WordPress Logo for our integration WordPress.
When a file was downloaded via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, update a user via The WordPress Logo for our integration WordPress.
When a form was submitted via The Gravityforms Logo for our integration Gravity Forms, update a user via The WordPress Logo for our integration WordPress.

More available WordPress endpoints

Discover more of the available endpoints used for the WordPress integration.
To learn more about a specific endpoint, simply click on it.
Full disclosure: When clicking on some of the links on our website and purchasing the related product and/or service, we may earn a commission free of any additional cost for you.