Last active
March 26, 2020 14:27
-
-
Save jchristopher/eda7170b80477e0afe96d0d5a26e7309 to your computer and use it in GitHub Desktop.
Enable Comment Author Email indexing in SearchWP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Enble Comment Author Email indexing in SearchWP. | |
add_filter( 'searchwp\source\post\attributes\comments\email', function( $enabled, $args ) { | |
return true; | |
}, 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment