This filter can be used to change the URL of a ProfileGrid page at the front end.
apply_filters('profile_magic_get_frontend_url',$page,$url,$gid);
$page is the ProfileGrid page name.
$url is the URL of the page.
$gid is the group ID. (optional, if not then pass ”)