Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Adjust the maximum weight in SearchWP's engine configuration UI
// 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