asp_indexing_string_pre_process
This filter runs just before the tokenization process is started, but before the raw text is cleared
apply_filters('asp_indexing_string_pre_process', $raw_str);
Parameters
$raw_str (string) - the text which is about to be tokenized
add_filter( 'asp_indexing_string_pre_process', 'asp_change_the_string', 10, 1 );
function asp_change_the_string( $raw_str ) {
return $raw_str . " my text";
}
Last updated