Filter: self::SCAN_FILTER
Filters whether a post's surrounding block template and its parts are scanned for embedded Views.
Parameters
| Name | Type | Description |
|---|---|---|
| $scan | bool | Whether to scan. Default: whether the active theme is a block theme. |
| $post | \WP_Post | The post being rendered. |
Since
- $ver$: $ver$
Source
Defined in src/View/BlockTemplateEmbeds.php at line 80