Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Manipulate the arguments used in SearchWP's loopback calls
function my_searchwp_indexer_loopback_args( $args ) {
// $args are in the format of
// change the timeout
$args['timeout'] = 0.01;
return $args;
add_filter( 'searchwp_indexer_loopback_args', 'my_searchwp_indexer_loopback_args' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment