bp_message_thread_view_link( int $thread_id, int $user_id = null )

Output the permalink for a particular thread.


Description Description


Parameters Parameters

$thread_id

(Optional) ID of the thread. Default: current thread being iterated on in the loop.

$user_id

(Optional) ID of the user relative to whom the link should be generated. Default: ID of logged-in user.

Default value: null


Top ↑

Source Source

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

function bp_message_thread_view_link( $thread_id = 0, $user_id = null ) {
	echo bp_get_message_thread_view_link( $thread_id, $user_id );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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