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
add_filter( 'boolean_smtp_debug_query_call_site_include_frame', $callback, 10, 3 );Parameters
| Parameter | 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—BooleanSmtp\Support\Debug\WordPressDebugLogger::resolveQueryCallSiteFromBacktrace()
Example
add_filter( 'boolean_smtp_debug_query_call_site_include_frame', function ( bool $include, array $frame, string $norm ) { return $include;}, 10, 3 );Next steps
- Internal (unstable) — every hook in this area, in firing order where that applies.
- Hook Explorer — filter and search every hook.