Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created March 18, 2015 13:51
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/ed0e2dcc60be9efa1440 to your computer and use it in GitHub Desktop.
Save jchristopher/ed0e2dcc60be9efa1440 to your computer and use it in GitHub Desktop.
Control how many delta update attempts are made by SearchWP
<?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