On this page
do_action( 'granted_super_admin', int $user_id )
Fires after the user is granted Super Admin privileges.
Parameters
$user_idint-
ID of the user that was granted Super Admin privileges.
Source
File: wp-includes/capabilities.php. View all references
do_action( 'granted_super_admin', $user_id );
Related
Used By
| Used By | Description |
|---|---|
| grant_super_admin() wp-includes/capabilities.php | Grants Super Admin privileges. |
Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/granted_super_admin