Created
March 20, 2019 14:46
-
-
Save jchristopher/df271e694610458c5403d0095e958715 to your computer and use it in GitHub Desktop.
Adjust the maximum weight in SearchWP's engine configuration UI
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 the maximum available SearchWP weight to 500 | |
function my_searchwp_weight_max( $weight ) { | |
return 500; | |
} | |
add_filter( 'searchwp_weight_max', 'my_searchwp_weight_max' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment