bp_send_private_message_link() outputs the URL for Private Message link in member profile headers. It generates the private message link to currently displayed for currently logged-in user.
The function outputs the Private Message Link for use in theme. If you need link for usage in PHP than use bp_get_send_private_message_link().
<a href="<php bp_send_private_message_link(); ?>">Send Message</a>
This function outputs the URL.
Related Functions: