-
-
Save searchwpgists/d8322fa29da4ee0d23cc9ed7a2b693dd 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