Filter: RCB/Blocker/InlineScript/IsBlocked

apply_filters( 'RCB/Blocker/InlineScript/IsBlocked', $isBlocked, $blockers, $attributes, $script ) → {false|array}

Check if a given inline script is blocked.
Parameters:
Name Type Description
$isBlocked false | array
$blockers Array.<WP_Post>
$attributes array
$script string
Returns:
Return false, or an array ['blocker] => WP_Post blocker instance, ['cookies'] => of cookie ids which need to be consent to so the inline script is unblocked
Type
false | array