Skip to main content

UpdateUserMetaStep

Updates user meta. This is equivalent to calling update_user_meta for each meta value in the meta object.

@hasRunnableExample
@example
<code>
{
"step": "updateUserMeta",
"meta": {
"first_name": "John",
"last_name": "Doe"
},
"userId": 1
}
</code>

Index

Properties

Properties

meta

meta: Record<string, unknown>

An object of user meta values to set, e.g. { “first_name”: “John” }

step

step: updateUserMeta

userId

userId: number

User ID