# after_serach
Event triggered after admin smart search, you can return results of your search using this hook.
Notice typo in event name after_serach
- its left there for legacy code
Return array of your custom search as in example below
# Hook parameter
An array
is passed with query
element
Key | Type | Description |
---|---|---|
query | string | Search query admin typed in |