asp_indexing_string_post_process

This filter runs just before the tokenization process is started, after the text has been processed - removed HTML entities etc..

apply_filters('asp_indexing_string_post_process', $str);

Parameters

  • $str (string) - the text which is about to be tokenized

add_filter( 'asp_indexing_string_post_process', 'asp_change_the_string', 10, 1 );
function asp_change_the_string( $str ) {
    return $str . " my text";
}

Last updated

Copyright Ernest Marcinko