Created
March 18, 2015 13:51
-
-
Save jchristopher/ed0e2dcc60be9efa1440 to your computer and use it in GitHub Desktop.
Control how many delta update attempts are made by SearchWP
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 | |
function my_searchwp_max_delta_attempts( $number_of_attempts ) { | |
return 4; // try up to 4 times | |
} | |
add_filter( 'searchwp_max_delta_attempts', 'my_searchwp_max_delta_attempts' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment