apply_filters( 'RCB/Blocker/HTMLAttributes', $attributes, $isBlocked, $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 |
BlockedResult | Since 3.0.0 this is an instance of `BlockedResult` |
$newLinkAttribute |
string | |
$linkAttribute |
string | |
$link |
string |
Returns:
- Type
- array