Display distance instead of address
-
Hi there, I’m using this code snippet to remove the actual position of profiles in Members Directory for the sake of privacy rules. But it would be nice to be able to display the distance instead, is it possible to change the code to display distance instead in km?
add_filter (‘bps_details’, ‘change_details’);
function change_details ($details)
{
unset ($details[‘field_3488’]); // don’t show field_3488
return $details;
}Regards
Carsten
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Display distance instead of address’ is closed to new replies.