# How can I filter the breadcrumb?

You can provide a filter callback to remove unwanted crumbs, it should return `true` when a crumb should be kept and `false` otherwise:

```php
\Aero\Store\Facades\Breadcrumb::setFilter(function ($crumb) {
    if ($crumb->getName() === 'Foo') {
        return false;
    }

    return true;
});
```