bbp_get_forum_last_active_id
Description
The ‘bbp_get_forum_last_active_id’ function returns the ID of the most recent reply within a forum
How to use it
1 | <?php bbp_get_forum_last_active_id( $forum_id ); ?> |
$forum_id (optional) – Returns the ID of the most recent reply within the specified forum
Used in bbp_forum_last_active_id()
Sample code example
1 | <?php $value = bbp_get_forum_last_active_id(); echo $value ; ?> |
Returns the ID of the most recent reply within a forum
1 | <?php bbp_get_forum_last_active_id( 1 ); ?> |
Returns the ID of the most recent reply within the specified forum