devowl-wp
    Preparing search index...
    handleCorrupRestApi: (resolve: Record<string, () => Promise<void>>) => void = handleCorruptRestApi

    Type declaration

      • (resolve: Record<string, () => Promise<void>>): void
      • Register a new endpoint which needs to resolve to a valid JSON result. In this way we can detect a corrupt REST API namespace e. g. it is blocked through a security plugin.

        This function needs to be called in document.readyState < completed!

        Parameters

        • resolve: Record<string, () => Promise<void>>

        Returns void

    For backwards-compatibility.