do_action( 'revoke_super_admin', int $user_id )

Fires before the user’s Super Admin privileges are revoked.

Parameters

$user_id

(int) ID of the user Super Admin privileges are being revoked from.

Source

File: wp-includes/capabilities.php

View on Trac

Changelog

Version Description
3.0.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/revoke_super_admin