Skip to content

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

ParameterTypeDescription
$stylestringOne of `exchange` (a fluent request/response transcript, the default), `array` (a raw `print_r()` dump), or `both`.

Returns string — The filtered style.

Fires in

Example

boolean_smtp_debug_http_log_style.php
add_filter( 'boolean_smtp_debug_http_log_style', function ( string $style ) {
return $style;
}, 10, 1 );

Next steps