You can use the following code
$link = trailingslashit( bp_core_get_user_domain( $user_id ) . bp_get_notifications_slug() );
Where $user_id is the id of the user.
If you are looking for the logged in user, you can use this
$link = trailingslashit( bp_loggedin_user_domain( ) . bp_get_notifications_slug() );
Hope that helps.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
This topic is: not resolved