Last active
March 23, 2020 19:34
-
-
Save jchristopher/eb9c807c721d5b2ebd00065bb944cbbe to your computer and use it in GitHub Desktop.
Reduce SearchWP's batch size for token generation
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 | |
// Reduce SearchWP's batch size for token generation. | |
add_filter( 'searchwp\index\tokens_max', function( $limit ) { | |
return 200; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment