bbp_topic_permalink( int $topic_id, string $redirect_to = '' )

Output the link to the topic in the topic loop


Description Description


Parameters Parameters

$topic_id

(Optional) Topic id

$redirect_to

(Optional) Pass a redirect value for use with shortcodes and other fun things.

Default value: ''


Top ↑

Source Source

File: includes/topics/template.php

function bbp_topic_permalink( $topic_id = 0, $redirect_to = '' ) {
	echo esc_url( bbp_get_topic_permalink( $topic_id, $redirect_to ) );
}

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.