> 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/index-table-related/asp_index_after_shortcode_execution.md).

# asp\_index\_after\_shortcode\_execution

Post content/excerpt/other field filtered after the shortcodes have been executed and before they are sent to tokenization.

```
apply_filters('asp_index_after_shortcode_execution', $content, $post);
```

### Parameters

* **$content** (string) - post content/excerpt or any other field eligible for shortcode execution
* **$post** (WP\_Post) - post type object

{% hint style="danger" %}
The return value should always be an **string**
{% endhint %}

### Sample usage

```php
add_filter( 'asp_index_after_shortcode_execution', 'asp_change_cf_index', 10, 3 );
function asp_change_cf_index( $content, $post ) {
    return $content . 'my custom text';
}
```
