messages_get_message_sender( int $message_id )

Get the ID of the sender of a message.


Parameters Parameters

$message_id

(int) (Required) ID of the message.


Top ↑

Return Return

(int|null) The ID of the sender if found, otherwise null.


Source Source

File: bp-messages/bp-messages-functions.php

function messages_get_message_sender( $message_id ) {
	return BP_Messages_Message::get_message_sender( $message_id );
}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.