# asp\_post\_title\_before\_tokenize

This filter runs just before the post title is processed and cleared from HTML etc.., before it is passed to the tokenization process.

```
apply_filters('asp_post_title_before_tokenize', $title, $post);
```

### Parameters

* **$title(string)** - the post title
* **$post(WP\_Post)** - post type object

```php
add_filter( 'asp_post_title_before_tokenize', 'asp_change_post_field_index', 10, 2 );
function asp_change_post_field_index( $title, $post ) {
    return $title. " my text";
}
```
