wpmem_post_update_data

Description

Action hook gets user’s updated registration data after it is inserted.

All of the _data hooks can be used in a similar manner. The differences are if the user data has
been inserted or not. All of it has passed validation by the time it gets to the hook.

Parameters

$fields
(array) (optional) The user’s submitted form data for the profile update.

$user_id
(string) (optional) The user ID.

Example

[snippet slug=wpmem_post_update_data lang=php]

Changelog

  • Introduced in version 2.7.2

Source

wpmem_post_update_data is located in /includes/api/api-users.php