-
-
Save searchwpgists/21dc3bebf02990122e69b5b1da4f9163 to your computer and use it in GitHub Desktop.
Increase SearchWP's load maximum threshold
This file contains hidden or 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