Skip to content

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

ParameterTypeDescription
$enabledboolThe value resolved by `boolean_smtp_debug_attach_api_debug`.

Returns bool — The filtered value.

Fires in

Example

boolean_smtp_debug_output_xhr.php
add_filter( 'boolean_smtp_debug_output_xhr', function ( bool $enabled ) {
return $enabled;
}, 10, 1 );

Next steps