boolean_smtp_debug_http_log_style
Filters how outgoing HTTP exchanges are formatted in the `requests` log channel.
filter Tier C Since 1.0.0
Signature
add_filter( 'boolean_smtp_debug_http_log_style', $callback, 10, 1 );Parameters
| Parameter | Type | Description |
|---|---|---|
$style | string | One of `exchange` (a fluent request/response transcript, the default), `array` (a raw `print_r()` dump), or `both`. |
Returns string — The filtered style.
Fires in
app/Support/Debug/WordPressDebugLogger.php:964—BooleanSmtp\Support\Debug\WordPressDebugLogger::appendHttpBlockToRequestsLog()
Example
add_filter( 'boolean_smtp_debug_http_log_style', function ( string $style ) { return $style;}, 10, 1 );Next steps
- Internal (unstable) — every hook in this area, in firing order where that applies.
- Hook Explorer — filter and search every hook.