boolean_smtp_debug_http_enabled
Filters whether the outgoing-HTTP debug channel is enabled.
filter Tier C Since 1.0.0
Signature
add_filter( 'boolean_smtp_debug_http_enabled', $callback, 10, 1 );Parameters
| Parameter | Type | Description |
|---|---|---|
$enabled | bool | Default false; true when the `BOOLEAN_SMTP_DEBUG_HTTP` constant is set or the `boolean_smtp_log_file_enabled` filter switches the `requests` log channel on. |
Returns bool — The filtered value.
Fires in
app/Support/Debug/WordPressDebugLogger.php:1341—BooleanSmtp\Support\Debug\WordPressDebugLogger::channelHttp()
Example
add_filter( 'boolean_smtp_debug_http_enabled', function ( bool $enabled ) { return $enabled;}, 10, 1 );Next steps
- Internal (unstable) — every hook in this area, in firing order where that applies.
- Hook Explorer — filter and search every hook.