# boolean_smtp_debug_query_call_site_include_frame

> Filters whether a backtrace frame may be used as a query's recorded call site.

Filter · Tier C · Since 1.0.0



## Signature

```php
add_filter( 'boolean_smtp_debug_query_call_site_include_frame', $callback, 10, 3 );
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `$include` | `bool` | Whether to accept this frame. Default true. |
| `$frame` | `array<string, mixed>` | The raw backtrace frame. |
| `$norm` | `string` | The frame's normalized file path. |

**Returns** `bool` — The filtered value.

## Fires in

- [app/Support/Debug/WordPressDebugLogger.php:318](https://github.com/booleanpress/boolean-smtp-src/blob/main/app/Support/Debug/WordPressDebugLogger.php#L318) — `BooleanSmtp\Support\Debug\WordPressDebugLogger::resolveQueryCallSiteFromBacktrace()`

## Example

```php
add_filter( 'boolean_smtp_debug_query_call_site_include_frame', function ( bool $include, array $frame, string $norm ) {
    return $include;
}, 10, 3 );
```
