> For the complete documentation index, see [llms.txt](https://docs.acpt.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.acpt.io/developers/actions/acpt_breadcrumb.md).

# acpt\_breadcrumb

Template action that outputs a breadcrumb trail

**Type:** Action (template)

Outputs a breadcrumb trail. This is fired automatically wherever the `{{acpt_breadcrumbs}}` placeholder is used inside a Dynamic Block template — you don't need to call it yourself, but you can hook into it to customize or replace the output.

### Parameters

| Parameter    | Type     | Description                                                                                          |
| ------------ | -------- | ---------------------------------------------------------------------------------------------------- |
| `$separator` | `string` | Optional. The string used between breadcrumb items. Defaults to the built-in separator when omitted. |

### Usage

```php
do_action("acpt_breadcrumb");           // default separator
do_action("acpt_breadcrumb", " › ");   // custom separator
```
