do_action( 'hivepress/v2/models/user/{action_type}', $user_id, $user )
Fires when a user is created, updated or deleted. The dynamic part of the hook refers to the action type (create
, update
or delete
).
Parameters:
Name | Type | Description |
---|---|---|
$user_id |
int | User ID. |
$user |
object | User object. |
- Source: