boolean_smtp_debug_attach_api_debug
Filters the legacy API debug response toggle.
filter Tier C Since 1.0.0
Signature
add_filter( 'boolean_smtp_debug_attach_api_debug', $callback, 10, 1 );Parameters
| Parameter | Type | Description |
|---|---|---|
$enabled | bool | Default false, or the value of the `BOOLEAN_SMTP_DEBUG_ATTACH_API_DEBUG` constant. |
Returns bool — The filtered value.
Fires in
app/Support/Debug/WordPressDebugLogger.php:1456—BooleanSmtp\Support\Debug\WordPressDebugLogger::isApiDebugResponseEnabled()
Example
add_filter( 'boolean_smtp_debug_attach_api_debug', 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.