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
add_filter( 'boolean_smtp_dashboard_cards', $callback, 10, 1 );Parameters
| Parameter | 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—BooleanSmtp\Providers\AppServiceProvider::adminExtensions()
Example
add_filter( 'boolean_smtp_dashboard_cards', function ( array $cards ) { return $cards;}, 10, 1 );Next steps
- Admin UI and REST API — every hook in this area, in firing order where that applies.
- Hook Explorer — filter and search every hook.