Last active
January 4, 2016 01:59
-
-
Save jchristopher/8552096 to your computer and use it in GitHub Desktop.
Prevent SearchWP from automatically updating it's index when content is added, edited, or deleted. NOTE that you will need to set up a custom WP-Cron job (or some equivalent) to ensure the index is kept up to date.
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_background_deltas', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment