Note: You are viewing the documentation for Version 3View Version 4 Docs


View the installation guide, browse the Knowledge Base, find out about SearchWP's many hooks, get support

Available since: 2.8.4


This action is fired prior to indexing the comments found within an indexer chunk.

add_action( 'searchwp_indexer_pre_get_comments', function() {
// Comments within this chunk are being indexed
view raw functions.php hosted with ❤ by GitHub
Fix keyword search on your site. No coding required!

Now you can utilize all of the content that's gone unrecognized by native WordPress keyword search instantly with SearchWP

Get SearchWP