/**
* Disable Bayesian average method to sort by ratings.*
* See https://www.google.com/search?q=bayesian+rating+sorting
*/
function wpsc_gd_snippet_200611_disable_use_bayesian( $use_bayesian = true, $table = '' ) {
return false;
}
add_filter( 'geodir_use_bayesian', 'wpsc_gd_snippet_200611_disable_use_bayesian', 10, 2 );
add_filter( 'gd_use_bayesian', 'wpsc_gd_snippet_200611_disable_use_bayesian', 10, 2 );
Copyright © 2025 by WP CODE SNIPPETS
Join our mailing list to receive the latest news and updates from our team.