apply_filters( 'RCB/Blocker/ResolveBlockables', $blockables, $headlessContentBlocker ) → {Array.<AbstractBlockable>}
Allows you to add, modify or remove existing `AbstractBlockable` instances. For usual,
they get generated of published Content Blocker post types records. This allows you
to block for example by custom criteria (services, TCF vendor, ...).
**Note**: This hook is called only once, cause the result is cached for performance reasons!
Parameters:
Name | Type | Description |
---|---|---|
$blockables |
Array.<AbstractBlockable> | |
$headlessContentBlocker |
HeadlessContentBlocker |
- Since:
- 2.6.0
Returns:
- Type
- Array.<AbstractBlockable>