Created
January 25, 2021 13:21
-
-
Save jchristopher/323f2248ee3732f190cb6712059f0757 to your computer and use it in GitHub Desktop.
Increase SearchWP's load maximum threshold
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 | |
// Increase SearchWP's load maximum threshold to allow loads up to 4 instead of 2. | |
// @link https://searchwp.com/documentation/hooks/searchwp-background_process-load_maximum/ | |
add_filter( 'searchwp\background_process\load_maximum', function( $max ) { | |
return 4; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment