bbp_get_forum_last_active_id
Codex Home → 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
<?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
<?php $value = bbp_get_forum_last_active_id(); echo $value; ?>
Returns the ID of the most recent reply within a forum
<?php bbp_get_forum_last_active_id( 1 ); ?>
Returns the ID of the most recent reply within the specified forum