bbp_forum_permalink( int $forum_id, string $redirect_to = '' )

Output the link to the forum


Description Description


Parameters Parameters

$forum_id

(Optional) Forum id

$redirect_to

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

Default value: ''


Top ↑

Source Source

File: includes/forums/template.php

function bbp_forum_permalink( $forum_id = 0, $redirect_to = '' ) {
	echo esc_url( bbp_get_forum_permalink( $forum_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.