Home › Forums › BP Better Messages › Automatily add user name in the "Send To" field? › Reply To: Automatily add user name in the "Send To" field?
July 13, 2018 at 11:16 am #6212
I think this is something that you are looking for:
$link = BP_Better_Messages()->functions->get_link() . '?new-message&to=' . bp_core_get_username( $user_id ).