/searchwp-customizations.php Secret
Last active
April 11, 2022 13:17
Increase SearchWP's indexer batch size
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 indexer batch size (default is 25). | |
add_filter( 'searchwp\indexer\batch_size', function( $size ) { | |
return 50; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment