boolean_smtp_debug_http_mailer_only
Filters whether the outgoing-HTTP debug channel is restricted to mail-provider URLs.
filter Tier C Since 1.0.0
Signature
add_filter( 'boolean_smtp_debug_http_mailer_only', $callback, 10, 1 );Parameters
| Parameter | Type | Description |
|---|---|---|
$mailerOnly | bool | Default true; set to false to log all outgoing HTTP requests. |
Returns bool — Whether to log mailer requests only.
Fires in
app/Support/Debug/WordPressDebugLogger.php:1605—BooleanSmtp\Support\Debug\WordPressDebugLogger::httpMailerOnly()
Example
add_filter( 'boolean_smtp_debug_http_mailer_only', function ( bool $mailerOnly ) { return $mailerOnly;}, 10, 1 );Next steps
- Internal (unstable) — every hook in this area, in firing order where that applies.
- Hook Explorer — filter and search every hook.