apply_filters( 'RCB/Blocker/IsBlocked', $isBlocked, $blockers, $tag, $linkAttribute, $link, $attributes ) → {false|array}
Check if a given tag, link attribute and link is blocked.
Parameters:
Name | Type | Description |
---|---|---|
$isBlocked |
false | array | |
$blockers |
Array.<WP_Post> | |
$tag |
string | |
$linkAttribute |
string | |
$link |
string | |
$attributes |
array |
Returns:
Return false, or an array ['blocker] => WP_Post blocker instance, ['cookies'] => of cookie ids which need to be consent to so the link is unblocked
- Type
- false | array