Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "wordpress-plugins/real-cookie-banner/src/public/ts/tcf/prepareTcfString"

Index

Functions

Functions

prepareTcfString

  • When saving via an action, forward the action to the TCF model automatically. E.g. "Accept all" should activate all, and "Accept only essentials" should only accept essentials + legitimate interests.

    Modifies also consentScreen in TCF string; currently not necessary, but just to be sure:

    • 0 = First view
    • 1 = Second view
    • 10 = Shortcode revoke link
    • 20 = Content Blocker

    Parameters

    Returns string

Generated using TypeDoc