Last updated 3 years ago
This filter runs just before the tokenization process is started, after the text has been processed - removed HTML entities etc..
$str (string) - the text which is about to be tokenized
apply_filters('asp_indexing_string_post_process', $str);
add_filter( 'asp_indexing_string_post_process', 'asp_change_the_string', 10, 1 ); function asp_change_the_string( $str ) { return $str . " my text"; }