do_action( 'add_user_role', int $user_id , string $role )
Fires immediately after the user has been given a new role.
Description Description
Parameters Parameters
- $user_id
-
(int) The user ID.
- $role
-
(string) The new role.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.3.0 | Introduced. |