SearchWP

Available since: 2.8.4

searchwp_indexer_pre_get_comments

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

<?php
add_action( 'searchwp_indexer_pre_get_comments', function() {
// Comments within this chunk are being indexed
});
view raw functions.php hosted with ❤ by GitHub