-
-
Save searchwpgists/26e075e513688e038af8b4b540ff6c4c to your computer and use it in GitHub Desktop.
Enable Comment Author Email indexing in SearchWP
This file contains hidden or 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