devowl-wp
    Preparing search index...
    • Synchronously check if a consent is given. See window.consentApi.consent for more documentation.

      Parameters

      • manager: CookieConsentManager
      • typeOrIdOrUniqueName: string | number
      • Optionalname: string
      • Optionalhost: string

        This can also be * to allow all hosts.

      Returns { consentGiven: boolean; cookie: Service; cookieOptIn: boolean }

      • consentGiven: boolean

        This variable defines whether a valid consent has generally been given. This does not refer to the technical information that you have passed as arguments. For example: If the user clicks "Continue without Consent", this variable is set to true. The variable is false if the user has not yet given consent and the cookie banner is displayed.

      • cookie: Service

        If the website operator has defined a cookie or service with the information you requested, it will be returned here.

      • cookieOptIn: boolean

        This variable defines whether the technical information has been accepted.

        Attention: This variable is also true if no service (see cookie) is found.