# boolean_smtp_debug_mask_visible_suffix_length

> Filters the number of trailing characters left visible when a value is masked.

Filter · Tier C · Since 1.0.0



## Signature

```php
add_filter( 'boolean_smtp_debug_mask_visible_suffix_length', $callback, 10, 1 );
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `$length` | `int` | Number of visible trailing characters. Default 4. |

**Returns** `int` — The filtered length.

## Fires in

- [app/Support/Debug/WordPressDebugLogger.php:601](https://github.com/booleanpress/boolean-smtp-src/blob/main/app/Support/Debug/WordPressDebugLogger.php#L601) — `BooleanSmtp\Support\Debug\WordPressDebugLogger::maskString()`

## Example

```php
add_filter( 'boolean_smtp_debug_mask_visible_suffix_length', function ( int $length ) {
    return $length;
}, 10, 1 );
```
