Filter: RCB/Blocker/KeepAttributes

apply_filters( 'RCB/Blocker/KeepAttributes', $keepAttributes, $tag, $attributes, $linkAttribute, $link ) → {Array.<string>}

In some cases we need to keep the attributes as original instead of prefix it with consent-original-. Keep in mind, that no external data should be loaded if the attribute is set!

Parameters:
Name Type Description
$keepAttributes Array.<string>
$tag string
$attributes array
$linkAttribute string
$link string
Since:
  • 1.5.0
Returns:
Type
Array.<string>