wphooks.info - revoked_super_admin

revoked_super_admin

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/capabilities.php:
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
			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;
}

/**
 * Filters the user capabilities to grant the 'install_languages' capability as necessary.
 *