bringapp
    Preparing search index...

    Function getSiteProps

    • Retrieves the site properties from the specified WordPress URL.

      Type Parameters

      • SP = object

        The type of the site-specific properties.

      • M = object

        The type of the menu data.

      • MI = object

        The type of the menu item data.

      Parameters

      • wpURL: string

        The URL of the WordPress site.

      Returns Promise<null | SiteProps<SP, M, MI>>

      A promise that resolves to the site properties.