Created
March 26, 2020 14:03
-
-
Save jchristopher/8c04f7e4a248387aabab886b62c72efd to your computer and use it in GitHub Desktop.
Disable Gutenberg block parsing during SearchWP 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 | |
// Disable Gutenberg block parsing during SearchWP indexing. | |
add_filter( 'searchwp\source\post\attributes\content\do_blocks', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment