devowl-wp
    Preparing search index...
    • 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