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