apply_filters( 'RCB/Blocker/InlineScript/HTMLAttributes', $attributes, $isBlocked, $script ) → {array}
An inline script got blocked, e. g. iframe
. We can now modify the attributes again to add an additional attribute to
the blocked script. Do not forget to hook into the frontend and transform the modified attributes!
Parameters:
Name | Type | Description |
---|---|---|
$attributes |
array | |
$isBlocked |
array | Since 3.0.0 this is an instance of BlockedResult |
$script |
string |
Returns:
- Type
- array