Skip to content

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

ParameterTypeDescription
$includeboolWhether to accept this frame. Default true.
$framearray<string, mixed>The raw backtrace frame.
$normstringThe frame's normalized file path.

Returns bool — The filtered value.

Fires in

Example

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

Next steps