Skip to content

boolean_smtp_debug_scope

Filters the debug logging scope.

filter Tier C Since 1.0.0

Signature

add_filter( 'boolean_smtp_debug_scope', $callback, 10, 1 );

Parameters

ParameterTypeDescription
$scopestring`all` (default) logs every matching event; `boolean_smtp_only` restricts logging to code running from within this plugin.

Returns string — The filtered scope.

Fires in

Example

boolean_smtp_debug_scope.php
add_filter( 'boolean_smtp_debug_scope', function ( string $scope ) {
return $scope;
}, 10, 1 );

Next steps