boolean_smtp_admin_menu_items
Filters the navigation entries other plugins add to the admin UI.
filter Tier B Since 1.0.0
Each entry is rendered as a link in the admin sidebar. Return the array with your entries appended.
Signature
add_filter( 'boolean_smtp_admin_menu_items', $callback, 10, 1 );Parameters
| Parameter | Type | Description |
|---|---|---|
$items | list<array{slug: string, label: string, url: string, description?: string}> | Navigation entries; empty by default. |
Returns list<array{slug: string, label: string, url: string, description?: string}> — The filtered entries.
Fires in
app/Providers/AppServiceProvider.php:1002—BooleanSmtp\Providers\AppServiceProvider::adminExtensions()
Example
add_filter( 'boolean_smtp_admin_menu_items', function ( array $items ) { return $items;}, 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.