bringapp
    Preparing search index...

    Function useSiteProps

    • Custom hook to fetch and return site props.

      Type Parameters

      • SP = object

        Type for site-specific props.

      • M = object

        Type for metadata.

      • MI = object

        Type for menu items.

      Parameters

      • wpURL: string

        WordPress URL.

      Returns null | SiteProps<SP, M, MI>

      Site props or null if not available.