Created
April 23, 2019 16:18
-
-
Save jchristopher/9205cb29511e28b5fd891c978370429d to your computer and use it in GitHub Desktop.
Prevent SearchWP from parsing Gutenberg blocks during indexing
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 | |
// Prevent SearchWP from parsing Gutenberg blocks during indexing. | |
add_filter( 'searchwp_do_blocks', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment