Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created March 26, 2020 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jchristopher/8c04f7e4a248387aabab886b62c72efd to your computer and use it in GitHub Desktop.
Save jchristopher/8c04f7e4a248387aabab886b62c72efd to your computer and use it in GitHub Desktop.
Disable Gutenberg block parsing during SearchWP indexing
<?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