BuddyPress user custom url structure , any one knows filter for bp_core_get_userlink [closed]

Please see below:

function bp_custom_author_link($url, $user_id){

    return "www.xyz.com/my-coustom-page/?id=" . $user_id ;  

}
add_filter( 'bp_core_get_userlink', 'bp_custom_author_link', 10, 2 );

I think you can take it further and change the inner logic of the function as intended 🙂

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)