bbp_get_forum_last_topic_author_link( int $forum_id )
Return link to author of last topic of forum
Description
Parameters
- $forum_id
-
(Optional) Forum id
Return
(string) Forum's last topic's author link
Source
File: bp-forums/forums/template.php
function bbp_get_forum_last_topic_author_link( $forum_id = 0 ) { $forum_id = bbp_get_forum_id( $forum_id ); $author_id = bbp_get_forum_last_topic_author_id( $forum_id ); $author_link = bbp_get_user_profile_link( $author_id ); return apply_filters( 'bbp_get_forum_last_topic_author_link', $author_link, $forum_id ); }
Changelog
Version | Description |
---|---|
bbPress (r2625) | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.