do_action( 'hivepress/v1/models/user/update_{field_name}', $user_id, $value )
Fires when a specific user field is updated. The dynamic part of the hook refers to the field name. For example, use the hivepress/v1/models/user/update_image
hook to call a custom function each time the user image is changed.
Parameters:
Name | Type | Description |
---|---|---|
$user_id |
int | User ID. |
$value |
mixed | Field value. |
- Source: