revoked_super_admin action-hookWP 3.0.0

Fires after the user's Super Admin privileges are revoked.

Usage

add_action( 'revoked_super_admin', 'wp_kama_revoked_super_admin_action' );

/**
 * Function for `revoked_super_admin` action-hook.
 * 
 * @param int $user_id ID of the user Super Admin privileges were revoked from.
 *
 * @return void
 */
function wp_kama_revoked_super_admin_action( $user_id ){

	// action...
}
$user_id(int)
ID of the user Super Admin privileges were revoked from.

Changelog

Since 3.0.0 Introduced.

Where the hook is called

revoke_super_admin()
revoked_super_admin
wp-includes/capabilities.php 1190
do_action( 'revoked_super_admin', $user_id );

Where the hook is used in WordPress

Usage not found.