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: ''
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 ) ); }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |