> For the complete documentation index, see [llms.txt](https://knowledgebase.ajaxsearchpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.ajaxsearchpro.com/hooks/filters/query-and-output/asp_cached_content.md).

# asp\_cached\_content

```php
$cache_content = apply_filters('asp_cached_content', $cached_content, $s, $id);
```

### Parameters

* **$cached\_content** (string) - Cached content
* **$s** (string ) - Search phrase
* **$id** (int) - Search ID

```php
add_filter( 'asp_cached_content', 'asp_cached_content_check', 10, 3 );
function asp_cached_content_check( $cached_content, $s, $id ) {
	return str_replace('<br>', '', $cached_content);
}
```
