Keywords before the index table engine inserts them into the database

This filter runs just before the tokenization process is completed and the keywords are sent to the database.

The returned keywords array should only consists of single words without space or any other delimiters

apply_filters('asp_indexing_keywords', $keywords);


  • $keywords (array) - keywords array

add_filter( 'asp_indexing_keywords', 'asp_change_indexing_keywords', 10, 1 );
function asp_stop_load_css( $keywords) {
    return array_merge($keywords, array('word1', 'word2'));

Last updated

Copyright Ernest Marcinko