Update user action

This action lets you update a user via the WordPress integration. Use it to automate you daily work and 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.

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".

do_action

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

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 paid membership expired via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, update a user via The WordPress Logo for our integration WordPress.
When a new customer was created 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 topic was completed via The LearnDash Logo for our WP Webhooks integration LearnDash, update a user via The WordPress Logo for our integration WordPress.
When a IFTTT webhook request was received via The IFTTT Logo for our WP Webhooks integration IFTTT, update a user via The WordPress Logo for our integration WordPress.
When a contact was removed from one or multiple lists via The Autonami Logo for our WP Webhooks integration Autonami, update a user via The WordPress Logo for our integration WordPress.
When a user was deleted via The WordPress Logo for our integration WordPress, update a user via The WordPress Logo for our integration WordPress.
When an action URL request was received via The WP Webhooks Logo for our WP Webhooks integration WP Webhooks, update a user via The WordPress Logo for our integration WordPress.
When an affiliate status was changed via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, update a user via The WordPress Logo for our integration WordPress.
When a form was submitted via The JetEngine Logo for our WP Webhooks integration JetEngine, update a user via The WordPress Logo for our integration WordPress.
When an order was updated via The Paid Membership Pro Logo for our WP Webhooks integration Paid Memberships Pro, update a user via The WordPress Logo for our integration WordPress.
When a product was restored via The Woocommerce Logo for our integration WooCommerce, update a user via The WordPress Logo for our integration WordPress.
When a custom button was clicked 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 course access was removed via The LearnDash Logo for our WP Webhooks integration LearnDash, update a user via The WordPress Logo for our integration WordPress.
When the full cache was cleared via The W3 Total Cache Logo for our WP Webhooks integration W3 Total Cache, update a user via The WordPress Logo for our integration WordPress.
When a ticket was reopened via The Fluent Support Logo for our WP Webhooks integration Fluent Support, update a user via The WordPress Logo for our integration WordPress.
When a shortcode was called via The WordPress Logo for our integration WordPress, update a user via The WordPress Logo for our integration WordPress.
When an export was created via The WP All Export Logo for our WP Webhooks integration WP All Export, update a user via The WordPress Logo for our integration WordPress.
When a quiz was completed via The LearnDash Logo for our WP Webhooks integration LearnDash, update a user via The WordPress Logo for our integration WordPress.
When a form was submitted via The WPForms Logo for our integration WPForms, update a user via The WordPress Logo for our integration WordPress.
When a course was completed via The Tutor LMS Logo for our WP Webhooks integration Tutor LMS, update a user via The WordPress Logo for our integration WordPress.
When a ticket was created via The Fluent Support Logo for our WP Webhooks integration Fluent Support, 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.