Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created January 22, 2014 01:50
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/8552175 to your computer and use it in GitHub Desktop.
Save jchristopher/8552175 to your computer and use it in GitHub Desktop.
Prevent SearchWP from triggering an index update automatically when a post is edited
<?php
// prevent SearchWP from automatically maintaining it's index
add_filter( 'searchwp_auto_reindex', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment