wphooks.info - revoked_super_admin

revoked_super_admin

The hook occurs in the following file:

wp-includes/capabilities.php:
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
			unset( $super_admins[$key] );
			update_site_option( 'site_admins', $super_admins );

			/**
			 * Fires after the user's Super Admin privileges are revoked.
			 *
			 * @since 3.0.0
			 *
			 * @param int $user_id ID of the user Super Admin privileges were revoked from.
			 */
			do_action( 'revoked_super_admin', $user_id );
			return true;
		}
	}
	return false;
}