Created
January 22, 2014 01:50
-
-
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
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 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