bbp_get_forum_last_reply_permalink( int $forum_id )

Return the link to the last reply in a forum


Description Description


Parameters Parameters

$forum_id

(Optional) Forum id


Top ↑

Return Return

(string) Permanent link to the forum's last reply


Top ↑

Source Source

File: includes/forums/template.php

	function bbp_get_forum_last_reply_permalink( $forum_id = 0 ) {
		$forum_id = bbp_get_forum_id( $forum_id );
		$reply_id = bbp_get_forum_last_reply_id( $forum_id );
		$link     = bbp_get_reply_permalink( $reply_id );

		// Filter & return
		return apply_filters( 'bbp_get_forum_last_reply_permalink', $link, $forum_id, $reply_id );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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