User Locations - Hooks

Code Examples:

  • Use hook um_member_directory_disable_clustering to disable clustering
  • Use hook um_user_locations_marker_data to change the map marker title
  • Use hook um_user_locations_map_args_init to disable the ability to pan and zoom the map on the Members page
  • Use hook um_user_locations_map_field_args_init to disable the ability to pan and zoom the map on the Profile page

Disable clustering, change the map marker title

Disable the ability to pan and zoom the map