filter Tier C Since 1.0.0
Signature
add_filter( 'boolean_smtp_debug_scope', $callback, 10, 1 );Parameters
| Parameter | Type | Description |
|---|---|---|
$scope | string | `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
app/Support/Debug/WordPressDebugLogger.php:1522—BooleanSmtp\Support\Debug\WordPressDebugLogger::scope()
Example
add_filter( 'boolean_smtp_debug_scope', function ( string $scope ) { return $scope;}, 10, 1 );Next steps
- Internal (unstable) — every hook in this area, in firing order where that applies.
- Hook Explorer — filter and search every hook.