wphooks.info - revoked_super_admin

revoked_super_admin

(trunk - 5.0-alpha-42541)

The hook occurs in the following file:

wp-includes/capabilities.php:
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
			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.
 *