Updates metadata of a WP User.
When you want to update metadata of a user in your WordPress site.
${user.ID} or any other method as you wish.
After the element was executed, you'll get either WP_User or false boolean value as result of get_user_by($field, $value)
Elements in On Success will be executed in case the user was found and some metadata were provided.
You'll get the recently updated WP_User in form of (${status.user}) object and be able to access its properties like this:
${status.user.ID}${status.user.data.user_login}${status.user.data.user_email}Elements in On Failure will be executed, in case the user was not found.
You'll get an error message in form of (${status.error}) object.
Exception will occur if no metadata was provided.