This Documentation is for SearchWP Version 3

Available since: 1.9.7


Note: Use of this hook will require a manual reindex

By default SearchWP will include Comments in the index. If you do not want Comment content to be indexed at all, you can add the following to your theme’s functions.php:

add_filter( 'searchwp_index_comments', '__return_false' );
view raw gistfile1.php hosted with ❤ by GitHub