devowl-wp
    Preparing search index...
    • Synchronously check if a content is blocked and returns the found content blocker. See window.consentApi.unblock for more documentation.

      Parameters

      • blocker: BlockerDefinition[]
      • url: string
      • Optionaloptions: { mapRule?: (rule: string) => string }
        • OptionalmapRule?: (rule: string) => string

          Allows to map the rules of the content blocker which are considered for the check if the URL is blocked. Return a falsy value to skip the rule.

      Returns BlockerDefinition