Filter: RCB/Blocker/HTMLAttributes

apply_filters( 'RCB/Blocker/HTMLAttributes', $attributes, $isBlocked, $blockers, $tag, $newLinkAttribute, $linkAttribute, $link ) → {array}

A tag got blocked, e. g. `iframe`. We can now modify the attributes again to add an additional attribute to the blocked content. This can be especially useful if you want to block additional attributes like `srcset`. Do not forget to hook into the frontend and transform the modified attributes!
Parameters:
Name Type Description
$attributes array
$isBlocked array [blocker] => WP_Post blocker instance, [cookies] => List of needed cookie ids
$blockers Array.<WP_Post>
$tag string
$newLinkAttribute string
$linkAttribute string
$link string
Returns:
Type
array