---
title: Filter breadcrumbs HTML
url: "https://www.seopress.org/support/hooks/filter-breadcrumbs-html/"
lang: en-US
updated: 2021-10-01
hook_name: seopress_pro_breadcrumbs_html
required_version: 3.6.5
---

# Filter breadcrumbs HTML

- **Hook name:** `seopress_pro_breadcrumbs_html`
- **Required version:** 3.6.5

```php
add_filter('seopress_pro_breadcrumbs_html', 'sp_pro_breadcrumbs_html');
function sp_pro_breadcrumbs_html($html) {
	//$html = <nav aria-label="breadcrumb"><ol class="breadcrumb" itemscope="" itemtype="http://schema.org/BreadcrumbList"><li class="breadcrumb-item" itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem"><a itemtype="http://schema.org/Thing" itemprop="item" href="https://www.seopress.org/"><span itemprop="name">Home</span></a><meta itemprop="position" content="1"></li>...
	//Do your stuff
	return $html;
}
```

Source: [https://gist.github.com/wp-seopress/f5b03da1b51bcd8d7c99d041af7722e2](https://gist.github.com/wp-seopress/f5b03da1b51bcd8d7c99d041af7722e2)



