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:

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

    return true;
});

 


Revision #1
Created 2026-09-24 06:44:06 UTC by Ethan Payne
Updated 2026-09-24 06:45:24 UTC by Ethan Payne