bp_send_private_message_link() – BuddyPress Function Reference

Description

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.

Usage

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>

 

Output

This function outputs the URL.

Related Functions: