@wp-playground/clientInterfacesUpdateUserMetaStepSur cette pageUpdateUserMetaStep 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 PropertiesmetastepuserIdProperties metameta: Record<string, unknown>An object of user meta values to set, e.g. { “first_name”: “John” }stepstep: updateUserMetauserIduserId: numberUser ID
Updates user meta. This is equivalent to calling
update_user_meta
for each meta value in themeta
object.