Skip to content

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

ParameterTypeDescription
$enabledboolDefault false, or the value of the `BOOLEAN_SMTP_DEBUG_ATTACH_API_DEBUG` constant.

Returns bool — The filtered value.

Fires in

Example

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

Next steps