# boolean_smtp_dashboard_cards

> Filters the cards other plugins add to the admin overview page.

Filter · Tier B · Since 1.0.0

Each card is rendered with its title and description and links to its URL. Return the array with your cards appended.

## Signature

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

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `$cards` | `list<array{id: string, title: string, url: string, description?: string}>` | Overview cards; empty by default. |

**Returns** `list<array{id: string, title: string, url: string, description?: string}>` — The filtered cards.

## Fires in

- [app/Providers/AppServiceProvider.php:1015](https://github.com/booleanpress/boolean-smtp-src/blob/main/app/Providers/AppServiceProvider.php#L1015) — `BooleanSmtp\Providers\AppServiceProvider::adminExtensions()`

## Example

```php
add_filter( 'boolean_smtp_dashboard_cards', function ( array $cards ) {
    return $cards;
}, 10, 1 );
```
